From owner-freebsd-geom@FreeBSD.ORG Fri Apr 24 23:09:11 2015 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6205E1FC for ; Fri, 24 Apr 2015 23:09:11 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 25A1F1F7F for ; Fri, 24 Apr 2015 23:09:10 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.85 (FreeBSD)) (envelope-from ) id 1YlmSo-000E1P-3G for freebsd-geom@freebsd.org; Fri, 24 Apr 2015 23:52:50 +0100 Date: Fri, 24 Apr 2015 23:52:49 +0100 From: John To: freebsd-geom@freebsd.org Subject: geli partition accepts passphrase but will not mount Message-ID: <20150424225249.GA53863@potato.growveg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 23:09:11 -0000 Hello, I'm running 11.0-CURRENT #0 r281867. I've followed the instructions given at https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html section 18.12.2. I was able to create the encrypted slice and mount it. I transferred some documents to that drive for safekeeping and unmounted it. Updated the machine and added these lines to the kernel: options GEOM_ELI device crypto but before I could rebuild the system later, it (some hours after this) went into a hard lock. Powering off then on again rebooted the system and from there I was able to run buildworld and friends. Rebooted again, now trying to mount the disk: root@:~ # geli attach -k /root/da0p1.key /dev/da0p1 Enter passphrase: root@:~ # root@:~ geli status Name Status Components da0p1.eli ACTIVE da0p1 Trying to mount it, this happens: root@:~ # mount /dev/da0p1.eli /mnt mount: /dev/da0p1.eli: Invalid argument I think this needs fsck but I get root@:~ # fsck -p -t ffs /dev/da0p1.eli Cannot find file system superblock What can I do? thanks, -- John