All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] Device /dev/md2 is not a valid LUKS device
@ 2013-02-18 18:28 Stone
  2013-02-18 20:13 ` Arno Wagner
  0 siblings, 1 reply; 2+ messages in thread
From: Stone @ 2013-02-18 18:28 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

hi guy's.

i new in your mailing list and i have a problem with my setup.

today my raid5 degraded totaly and i can fix it with a command to re-created
/mdadm --create /dev/md2 --assume-clean --verbose --level=5 
--raid-devices=4 /dev/sdc1 /dev/sdd1 missing /dev/sdf1/
After this i add my /dev/sde1 also to my /dev/md2 device.

My problem is now the i cannot open my crypt device
/cryptsetup luksOpen /dev/md2 md2_nas//
//Device /dev/md2 is not a valid LUKS device./

Befor one year i has the device created with this command:
/luksformat -t ext4 /dev/md0/

A dont have a backup of the header.

Is the filesystem broken?
/fsck /dev/md2//
//fsck from util-linux 2.20.1//
//e2fsck 1.42 (29-Nov-2011)//
//fsck.ext2: Superblock invalid, trying backup blocks...//
//fsck.ext2: Bad magic number in super-block while trying to open /dev/md2/

Is there a chance to get my data from the device?

Thank you.





[-- Attachment #2: Type: text/html, Size: 1443 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-18 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18 18:28 [dm-crypt] Device /dev/md2 is not a valid LUKS device Stone
2013-02-18 20:13 ` Arno Wagner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.