[linux-lvm] unexpected behaviour of "lvresize" with sparse volumes

Zdenek Kabelac zdenek.kabelac at gmail.com
Thu Oct 15 19:53:45 UTC 2015

Dne 15.10.2015 v 18:47 Chris Friesen napsal(a):
> On 10/15/2015 03:24 AM, Zdenek Kabelac wrote:
>> Dne 15.10.2015 v 09:13 Alexey napsal(a):
>>> Hello,
>>> If you look at the output of `lvs myvg`, then you will understand whats
>>> happens.
>>> When you create thin LV without specifying option `-T`, lvm automatically
>>> created TP for you with size equal to -L option.
>>> And when you resize your sparsevol, your TP (auto name lvol1) still have old
>>> size.
>> Mixing 2 things together.
>> Newer lvm2 tools (then reported 2.02.98)  are now creating sparse volumes
>> as a thin volume in thin-pool.
>> Old behavior with /dev/zero snapshot is thought still available
>> either with lvm.conf settings  or using  --type snapshot.
> Okay, that's interesting.  Do you know when this change went in?

Version 2.02.112 has configurable setting for this.


More information about the linux-lvm mailing list