From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IXPadf41wSgo for ; Sat, 26 Nov 2011 19:45:24 +0100 (CET) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Sat, 26 Nov 2011 19:45:22 +0100 (CET) Message-ID: <4ED133B7.2030806@redhat.com> Date: Sat, 26 Nov 2011 19:45:11 +0100 From: Milan Broz MIME-Version: 1.0 References: <4ED0F577.7050608@nic.fi> In-Reply-To: <4ED0F577.7050608@nic.fi> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mika.kujanpaa@nic.fi Cc: dm-crypt@saout.de On 11/26/2011 03:19 PM, Mika Kujanp=E4=E4 wrote: > I've tried to find information, if there is some possibility to recover a= ccess to disk. When I try luksOpen or luksDump, i get >=20 > cryptsetup luksDump /dev/disk/by-uuid/7fa45e9b-6b3d-4ac7-becc-7b8fe5d463a3 > LUKS keyslot 4 is invalid. > LUKS keyslot 5 is invalid. Which cryptsetup version? Basically it means that either kesylot has wrong offset (or there is bug in cryptsetup itself, I recently added some offset check code here). Could you send me (to private mail, not to list) dd of this broken LUKS header so I can check what's wrong? (just first 4k of device - without private keyslots area, e.g. only visible information - you can use this command dd if=3D of=3D bs=3D4096 count=3D1 Thanks, Milan