DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Wagner <arno@wagner.name>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] /dev/md1 is not a valid LUKS device
Date: Mon, 4 Jul 2011 23:10:24 +0200	[thread overview]
Message-ID: <20110704211024.GC16539@tansi.org> (raw)
In-Reply-To: <20110704154523.GA21034@apartia.fr>

On Mon, Jul 04, 2011 at 05:45:23PM +0200, Louis-David Mitterrand wrote:
> Hi,
> 
> After a hardware crash I now get this error:
> 
> 	root@grml ~ # cryptsetup isLuks /dev/md1 
> 	Device /dev/md1 is not a valid LUKS device
> 
> Am I basically fucked?

I assume you have no header backup? 

If so, possibly, but not necessarily. Is this on an SSD? There
the LUKS header could be in the same "sector" as a data area 
(due large SSD actual sector size)

Can you send me the first 700 bytes of the partition as hexdump?
You can get them for example like this:

  hd /dev/md1 | head -n 40

Arno

-- 
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

  reply	other threads:[~2011-07-04 21:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 15:45 [dm-crypt] /dev/md1 is not a valid LUKS device Louis-David Mitterrand
2011-07-04 21:10 ` Arno Wagner [this message]
2011-07-04 21:15   ` Louis-David Mitterrand
     [not found]   ` <20110706085309.GA28448@apartia.fr>
2011-07-06  9:44     ` Arno Wagner
2011-07-06 10:22       ` Arno Wagner
2011-07-06 11:03         ` Roscoe
2011-07-06 11:06           ` Roscoe

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=20110704211024.GC16539@tansi.org \
    --to=arno@wagner.name \
    --cc=dm-crypt@saout.de \
    /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