From owner-freebsd-geom@FreeBSD.ORG Wed Sep 10 13:23:21 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C82AD1065672 for ; Wed, 10 Sep 2008 13:23:21 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 7B4578FC1C for ; Wed, 10 Sep 2008 13:23:21 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KdPfE-0003JD-GM for freebsd-geom@freebsd.org; Wed, 10 Sep 2008 13:23:20 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Sep 2008 13:23:20 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Sep 2008 13:23:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Wed, 10 Sep 2008 15:23:22 +0200 Lines: 51 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig63A1A4E3ADA2A3B43FD738E6" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: How to FSCK GEOM GELI image X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2008 13:23:21 -0000 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--