From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Thu, 3 Jun 2010 17:51:09 +0200 (CEST) Message-ID: <4C07CF68.7090708@redhat.com> Date: Thu, 03 Jun 2010 17:51:04 +0200 From: Milan Broz MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Corrupted luks partition, help needed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Panagiotis Malakoudis Cc: dm-crypt@saout.de On 06/03/2010 05:32 PM, Panagiotis Malakoudis wrote: > I have a luks partition which was corrupted by failed disk i/o. > Examining the partition, the first 512 bytes of the LUKS header is > correct, then there is a corruption which I am not really sure how many > sectors affected. Giving the correct key always returns: "No key > available with this passphrase.". Since the first 512 bytes are correct, > I guess all key information is unharmed. Is there a way to decrypt the > partition, even loosing some sectors of data? If any part of the used keyslot (which is located after visible header, - in you case starting at sector 8 to sector 264 (hope I calculated it properly), is modified or lost, you lost that keyslot completely. Because you have only one active keyslot, you probably lost the whole disk:-( (Only backup of this keyslot area can help here.) Milan