[linux-lvm] unexpected behaviour of "lvresize" with sparse volumes
chris.friesen at windriver.com
Thu Oct 15 16:47:03 UTC 2015
On 10/15/2015 03:24 AM, Zdenek Kabelac wrote:
> Dne 15.10.2015 v 09:13 Alexey napsal(a):
>> 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
> 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?
More information about the linux-lvm