SCARY! Raid0 data corruption trim

Asked by SergeiS

There's a scary issue with fstrim on raid0 and raid10 mdadm devices. It's fixed upstream (see below). What's the status of this on Ubuntu, specifically Trusty and after?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
SergeiS (sergei-redleafsoft) said :
#1
Revision history for this message
SergeiS (sergei-redleafsoft) said :
#2

Did my amateur analysis by extracting sources for current trusty kernel 3.13.0-65-generic and current trusty-lts-utopic 3.16.0-50-generic and looking at files referenced in patches from the Martin K. Petersen's email, and it appears that 3.16 already has this fix included, and 3.13 is a completely different code base, so could be not affected.

Could someone knowledgeable chime in on this. I've disabled fstrim in cron until I understand the situation better.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

I suggest you report a bug and cite the links you added.

Can you help with this problem?

Provide an answer of your own, or ask SergeiS for more information if necessary.

To post a message you must log in.