Alerts This Week
Warning Icon 1 560
Alerts This Week
Warning Icon 1 560

Linux 5.1 Critical Advisory: Data Loss Risk from FSTRIM on LVM and dm-crypt

32.Lock Code Circular Esm H500

As a forewarning to those using LVM, dm-crypt, and Samsung solid-state drives, this combination in some manner(s) may lead to data corruption if using the Linux 5.1 kernel.

Linux FSTRIM/Discard is being too aggressive leading to data loss on certain setups, which at this point seem to be isolated to those using LVM and dm-crypt. The device mapper bug in Linux 5.1 is causing for blocks to be discarded wrongly or too much and that can lead to "massive data loss" issues.

The link for this article located at Phoronix is no longer available.

Your message here