Re: thin discards

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

 



So can thin volumes support discards independently of the device underneath them?

I expected fstrim to free space in the thin pool.


On Tue, Jul 16, 2013 at 4:33 AM, Raymond Jennings <shentino@gmail.com> wrote:
Gentoo

sys-kernel/gentoo-sources-3.10.1
sys-fs/lvm2-2.02.97-r1

I don't know if the pool device is capable of trim support.  I do know that the underlying device, a seagate hard drive, does not support discard.  However one would think that thin volumes have their own discard handling to deallocate internally, possibly passing a discard down to the underlying block device as needed.


On Tue, Jul 16, 2013 at 3:16 AM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
Dne 15.7.2013 17:32, Raymond Jennings napsal(a):

I tried to run an fstrim on a mounted thin volume, but got FITRIM:  operation
not supported.

Did I screw up or something?


Is the pool device capable of TRIM support ?

Which version of lvm2 and kernel is in use ?


Zdenek




_______________________________________________
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