Guys, sorry not to agree completely with you: fstrim-all _should_ be run on 
mdadm devices if they are RAID1. Linux kernel support TRIMming of RAID1 md 
devices since Mar 11 2012. See 
http://lkml.iu.edu//hypermail/linux/kernel/1203.1/01772.html
This is present in Ubuntu since kernel 3.8 (raring) and I'm using it actively 
on my raid1 md device made up of an Intel and a Kingston SSD. I'm trimming the 
/ mount, which is actually on /dev/md0.
One can even mound the md device in fstab with discard option, that works too:
EXT4-fs (md0): re-mounted. Opts: discard,errors=remount-ro
Using 12.04 with kernel 3.11, and plan to upgrade to 14.04 but this is a 
regression now...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276941

Title:
  fstrim-all should not be run on mdadm devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1276941/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to