[dm-crypt] Avoiding fsck.ext4 destruction of crypto_luks data

Richard rz at linux-m68k.org
Thu Dec 27 21:29:35 CET 2012


On Thu, Dec 27, 2012 at 01:12:09AM -0500, Emily Williams wrote:
> Today I made a rather large mistake, running fsck.ext4 on the raw volume
> (/dev/sdk1) instead of the mapped volume
> (/dev/mapper/whatever-i-choose-to-call-it). I assume it is not possible to
> recover from this once it is done and the cryptosetup lukeOpen passphrase
> no longer works.

something strange going on fsck.ext4 will never do a destructive action 
without asking.

Don't reboot, don't panic perhaps something can be saved.

No idea what really happened though.


Richard

---
Name and OpenPGP keys available from pgp key servers



More information about the dm-crypt mailing list