Nevermind, was not having discard='unmap' in libvirt

-----Original Message-----
To: ceph-users
Subject: [ceph-users] rbd lvm xfs fstrim vs rbd xfs fstrim


If I do an fstrim /mount/fs and this is an xsf directly on a rbd device. 

I can see space being freed instantly with eg.  rbd du. However when 
there is an lvm in between, it looks like this is not freed. I already 
enabled issue_discards = 1 in lvm.conf but as the comment says, probably 
only in case of lvremove.

Is it possible to get fstrim working with lvm?




_______________________________________________
ceph-users mailing list -- [email protected] To unsubscribe send an 
email to [email protected]

_______________________________________________
ceph-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to