[dm-crypt] /dev/md1 is not a valid LUKS device

Arno Wagner arno at wagner.name
Mon Jul 4 23:10:24 CEST 2011


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 at 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 at 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 


More information about the dm-crypt mailing list