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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig63A1A4E3ADA2A3B43FD738E6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Michael Jung wrote:
> FreeBSD 6.3-RELEASE-p2 #15
>=20
> I've been using the image for some time and was well until a UPS
> failure.
>=20
> Here is the script I use to mount the encrypted file image
>=20
> ++++++++++++
>=20
> 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
>=20
> ++++++++++++
>=20
> It fails to mount and I see this is dmesg
>=20
> 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



--------------enig63A1A4E3ADA2A3B43FD738E6
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig63A1A4E3ADA2A3B43FD738E6--




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