From owner-freebsd-geom@FreeBSD.ORG Sun Dec 3 19:50:20 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3ED916A516 for ; Sun, 3 Dec 2006 19:50:20 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B00E43CB8 for ; Sun, 3 Dec 2006 19:49:46 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 2F4E546DA5; Sun, 3 Dec 2006 20:50:13 +0100 (CET) Received: from localhost (dla112.neoplus.adsl.tpnet.pl [83.24.30.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 648C44569A; Sun, 3 Dec 2006 20:50:07 +0100 (CET) Date: Sun, 3 Dec 2006 20:50:04 +0100 From: Pawel Jakub Dawidek To: Alex Bramley Message-ID: <20061203195004.GA3183@garage.freebsd.pl> References: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <8cffb8c80612031132s2cdd69d6ia812e3f4e017f69e@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: Resurrecting a GELI volume 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: Sun, 03 Dec 2006 19:50:20 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 03, 2006 at 07:32:29PM +0000, Alex Bramley wrote: > Hi, >=20 > First, please CC me in any replies to the list, as I am (temporarily) > off list due to moving jobs. >=20 > I accidentally overwrote the metadata of a GELI volume by using geli > init on the wrong device node (never try to do sysadmin tasks when > hungover). I have the correct key and passphrase, and I would like to > know whether it is possible to regain access to my lost data. I have > already tried running init again on the volume with the correct key > and passphrase, but (somewhat unsurprisingly) to no avail. Any > assistance would be much appreciated. Passphrase is only used to encrypt the master key, which is stored in metadata. That means you overwrote the master key and I'm afraid your data is lost if you haven't backed the master key up before (with 'geli backup'). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFcypsForvXbEpPzQRAn38AKCZgjvpzQTy+AoFp4uzBAs8PwIqWgCePSKY qXUoCuoCDnX12JiUPTKTK3E= =tq2n -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--