Ubuntu crapping out on me (crypt on raid) —19 March 2008
Shocker. Installing Gutsy 64-bit now to replace Windows 2003 Server. The installer looked pretty good. I was impressed by the option to create software raid partitions and encrypted partitions. I thought to myself: it can’t be this easy.
Yeap, sadly, it wasn’t. Upon first boot, gutsy crapped out on me and dumped me into the rescue shell. The issue:
fsck.ext3: No such file or directory while trying to open /dev/mapper/md0_crypt /dev/mapper/md0_crypt: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device>
This is precisely the same issue as this guy was seeing in debian: dm-crypt on raid does not play nicely
Conclusion: at the moment crypt on raid doesn’t work in ubuntu/debian releases. (You can probably make it work based on the article above.)