DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: mika.kujanpaa@nic.fi
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS keyslot 4 is invalid.
Date: Sat, 26 Nov 2011 19:45:11 +0100	[thread overview]
Message-ID: <4ED133B7.2030806@redhat.com> (raw)
In-Reply-To: <4ED0F577.7050608@nic.fi>

On 11/26/2011 03:19 PM, Mika Kujanpää wrote:
> I've tried to find information, if there is some possibility to recover access to disk. When I try luksOpen or luksDump, i get
> 
> 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=<luks_device> of=<backup_file> bs=4096 count=1

Thanks,
Milan

  reply	other threads:[~2011-11-26 18:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-26 14:19 [dm-crypt] LUKS keyslot 4 is invalid Mika Kujanpää
2011-11-26 18:45 ` Milan Broz [this message]
2011-11-27 11:33   ` Milan Broz
2011-11-27 12:30     ` Arno Wagner
  -- strict thread matches above, loose matches on Subject: below --
2014-11-19 22:52 Jarosław K
2014-11-20 19:04 ` Arno Wagner
2014-11-25 21:50 ` Jarosław K
2014-11-25 23:15   ` Arno Wagner
2014-11-26 17:11   ` Jarosław K
2014-11-26 17:54     ` Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED133B7.2030806@redhat.com \
    --to=mbroz@redhat.com \
    --cc=dm-crypt@saout.de \
    --cc=mika.kujanpaa@nic.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox