I suspect there's a bug in Ubuntu's default whole disk encryption setup.Here's what happens, repeatably:I make a fresh install, Ubuntu 15.10 with whole disk encryption, overwriting the whole diskIt boots and seems to work just fineA few reboots later, programs start crashing. Ubuntu has experienced an internal error, Firefox will crash immediately on startup, etc.Finally, after an additional reboot or two, it will boot to busybox. Running fsck finds and fixes tons of errors.Go to step 2Not cool.Conclusions so far:I'm quite sure it's not disk failure. I reproduced this from scratch with two different drives. In both cases, the SMART data looks healthy, and running self tests thru gnome-disks comes up clean.Beyond that... I have no idea.Details:System76 Galago Ultrapro64-bit desktop Ubuntu 15.10Kernel 4.2.0-18-genericDefault Ubuntu whole-disk encryption setup: ext2 boot partition, dm-crypt+LUKS+ext4 main partition.I ran into this first with a 256GB Samsung 840 EVO, then reproduced it on a 512GB Samsung 830. I got the same problems in both cases: works fine for a while, but becomes unusable after a few reboots. Installing Ubuntu without disk encryption works.Has this happened to anyone else?I've checked the syslog and couldn't find anything incriminating.Does anyone know how I could figure out what's going on here?
Massive disk corruption on Ubuntu 15.10 with dm-crypt + LUKS full disk encryption?
debian;luks;dm crypt
There have been constant reports of corruption bugs with ext4 file systems, with varying setups. Lots of people complaining in forums. The bug seems to affect more people with RAID configurations.However, they are supposedly fixed in 4.0.3.4.0.3 includes a fix for a critical ext4 bug that can result in majordata loss.https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785672There are other ext4 bugs, including bugs fixed as of the 30th of November [of 2015].https://lists.ubuntu.com/archives/foundations-bugs/2015-November/259035.htmlThere is also here a very interesting article talking about configuration options in ext4, and possible corruption with it with power failures.http://www.pointsoftware.ch/en/4-ext4-vs-ext3-filesystem-and-why-delayed-allocation-is-bad/I would test the setup with other filesystem other than ext4.