Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2008 17:11:51 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Kyryll A Mirnenko aka Mirya <mirya@zoc.com.ua>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: GELI partition mount on boot fails after 7.0 -> 7.1-PRERELEASE upgrade
Message-ID:  <20080930151151.GE2152@garage.freebsd.pl>
In-Reply-To: <200809301454.47473.mirya@zoc.com.ua>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Sep 30, 2008 at 02:54:45PM +0300, Kyryll A Mirnenko aka Mirya wrote:
> I was using a GELI partition for /usr/home on 7.0, so it attaches and mounts 
> on boot. The problem is it stopped working after the system was upgraded to 
> RELENG_7/7.1-PRERELEASE. Here's how it goes:
> 
> I have the following /etc/fstab:
> 
> /dev/ad0s1b             none            swap    sw              0       0
> /dev/ad0s1a             /               ufs     rw              1       1
> /dev/ad0s1d             /tmp            ufs     rw              2       2
> /dev/ad0s1e             /var            ufs     rw              2       2
> /dev/ad0s1f.eli         /usr/home       ufs     rw              2       2
> 
> After upgrading to 7.1 and rebooting:
> 
> ...
> Configuring Disk Encryption for ad0s1f.
> Enter passphrase:
> 
> geli:
> Cannot access ad0s1f (error=1).

Something keeps ad0s1f open, so geli cannot access it. Could you add
somewhere 'sysctl -b kern.geom.confxml' (maybe to /etc/rc.d/geli
script), so we can see how keeps ad0s1f open.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFI4kG3ForvXbEpPzQRAgklAJ9lhGdUOLaZKDY9qHbcMdr4qWcSPgCfU46Z
6YsGmfqtoCHMTFYoGGqtFsU=
=qIyG
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080930151151.GE2152>