Return-Path: Received: from mail.cs.helsinki.fi (courier.cs.helsinki.fi [128.214.9.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Mon, 2 Aug 2010 12:21:03 +0200 (CEST) From: Mikko Rauhala In-Reply-To: <4C5696E2.1000509@redhat.com> References: <1280697096.16046.1387795841@webmail.messagingengine.com> <20100801230113.GA14693@tansi.org> <1280704838.643.1387808231@webmail.messagingengine.com> <20100802002730.GA15890@tansi.org> <1280738327.12803.1387859489@webmail.messagingengine.com> <4C5696E2.1000509@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Mon, 02 Aug 2010 13:21:02 +0300 Message-ID: <1280744462.17642.109.camel@revelation> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Hosed encrypted drive. Is disaster recovery possible? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de ma, 2010-08-02 kello 11:58 +0200, Milan Broz kirjoitti: > If you have live mapping still, you are not lost completely yet. > Do not reboot! First run "dmsetup table --showkeys" and "dmsetup info -c" > and store the full mapping to some file. _After_ doing that to have the mapping safe, it occurs to one that if the mapping is indeed live, you could just dump the decrypted block device image elsewhere (either re-encrypted or not). This would reduce the problem into a generic filesystem recovery one, with no need to tinker with reconstructing the original mapping. -- Mikko Rauhala University of Helsinki