Re: Is trim/discard supported on LVM RAID logical volume? (resent)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Patrick,

this doesn't work in upstream either.

Your old stack with MD raid1 as PV processes ext4 fstrim ok but lvm "raid1" does not
(yes, same MD raid runtime used in the kernel driven by the dm-raid target).

Looking into this...

Heinz


On 11/28/2016 08:43 AM, Patrick Dung wrote:
Hello,

In my old setting, fstrim is supported:
ext4 over LVM over MD software raid (mdadm) > SSD.

After reading the recommendation in RHEL 6 https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-ssd.html

I change to use raid 1 mirror using 'LVM RAID logical volume'. It make use of MD raid internally.
But I found fstrim does not work anymore. Is the behavior expected?

Thanks and regards,
Patrick


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux