Re: What does it mean “not a valid LUKS device”? Can I start over and not destroy the drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




When I attempt to fix the problems from the boot cd and run cryptsetup luksOpen /dev/sda3 cryptLVM, I get “not a valid LUKS device”.



Can I simply reformat Luks? What are my concerns right now if I don't need to save data?


It means what it says.A luks device has what is called a "luks header".The header contains information necessary to open the volume.The header in that device is corrupt and hence the volume is no longer a luks volume.

Latest versions of cryptsetup has an ability to correct some corruptions but not all.You can try to see if it can repair your corrupted volume.

Did you create a luks header backup? If not then your data is toasted and lost forever. You can simply reformat and move on but your old data will be gone.

Make a back up of the header after you reformat.Restoring a header from a backup is the only way to recover from the error you got.
 

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux