Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 15:23:22 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: How to FSCK GEOM GELI image
Message-ID:  <ga8ho1$748$1@ger.gmane.org>
In-Reply-To: <ADC733B130BF1D4A82795B6B3A2654E277716B@exchange.paymentallianceintl.com>
References:  <ADC733B130BF1D4A82795B6B3A2654E277716B@exchange.paymentallianceintl.com>

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

[-- Attachment #1 --]
Michael Jung wrote:
> FreeBSD 6.3-RELEASE-p2 #15
> 
> I've been using the image for some time and was well until a UPS
> failure.
> 
> Here is the script I use to mount the encrypted file image
> 
> ++++++++++++
> 
> mdconfig -a -t vnode -f /home/staff/mikej/image md0
> geli attach -k /etc/gli/image.key /dev/md0c

Try fsck after this step, before you mount it:

fsck /dev/md0c.eli

> mount /dev/md0c.eli /private
> 
> ++++++++++++
> 
> It fails to mount and I see this is dmesg
> 
> GEOM_ELI: Device md0c.eli created.
> GEOM_ELI: Encryption: AES-CBC 128
> GEOM_ELI:     Crypto: software
> WARNING: R/W mount of /private denied.  Filesystem is not clean - run
> fsck



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIx8pKldnAQVacBcgRAuADAJ9jynAbz2KSCZRMUKQHT4MNKlXetQCfc/bv
UDeM0I16k4HTBYBO7Htchuc=
=ecBg
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ga8ho1$748$1>