[linux-lvm] thin discards

Raymond Jennings shentino at gmail.com
Sun Jul 21 07:10:01 UTC 2013


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 at 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 at 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
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20130721/fe7df60d/attachment.htm>


More information about the linux-lvm mailing list