LVM thin volumes fstrim operation not supported

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



Hi All

I'm trying to setup my LVM thin pool to support discards so that the pool
can reclaim space even if the underlying device doesn't support trim. It is
my understanding that all thin pools should support trim even if the
underlying device doesn't. (please correct me if I'm wrong here)

I have one centos server that does support trim and everything is working
correctly but any new servers and thin pools throw the error below.

# fstrim -v /mnt/data00
fstrim: /mnt/data00: the discard operation is not supported

I can't find any differences in the LVM configuration between the two
servers, they both have the lv discards set to passthough.

Can anyone tell me if I'm missing something when creating the thin pool
that would allow me to perform the fstrim.

I'm using xfs on all of the lvs.

Thanks,
Tim
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux