securitybreach Posted May 23, 2015 Share Posted May 23, 2015 Data corruption on software RAID 0 when discard is used 2015-05-22 Recent Linux kernels (4.0.2+, LTS 3.14.41+), pushed to the [core] repository in the past couple of weeks, were affected by a bug that can cause data corruption on file systems mounted with thediscard option and residing on software RAID 0 arrays. The issue has been addressed in the linux 4.0.4-2 and linux-lts 3.14.43-2 updates. Due to the nature of the bug, however, it is likely that data corruption has already occurred on systems running the aforementioned kernels. It is strongly advised to verify the integrity of affected file systems using fsck and/or restore their data from known good backups. For further information please read the LKML post by Holger Kiehl, the related article on Phoronix, as well as the proposed fix that was backported to the Arch kernels. https://www.archlinux.org/news/data-corruption-on-software-raid-0-when-discard-is-used/ NOTE: This has been fixed with the latest kernel update. Quote Link to comment Share on other sites More sharing options...
sunrat Posted May 26, 2015 Share Posted May 26, 2015 Recent advice seems to favour running fstrim as a cron job rather than discard. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted May 26, 2015 Author Share Posted May 26, 2015 Shouldn't matter unless your running RAID0 and it has already been fixed in the latter kernel Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.