1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
Zdenek Kabelac 08f36dd093 lvextend: fix resizing volumes of different segtype
When resizing 2 volumes like  thin-pool and it's metadata and they
would be of a different type - command would be actually expecting
both LVs being of a same segtype - and would throw an error in
case they are different.

This patch fixes is by setting a new segtype from last segment of
2nd. extented device.

Also it fixes the possible 'percentage' extension setup that
might have been used for 'primary' volume - while the 'secondary'
LV always goes with direct size - as we do not support 'percentage'
setup for them

This affects maily usage of thin-pool where the extension of
thin-pool data size may also lead to extension of metadata size.
2019-11-11 22:44:25 +01:00
..
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2019-10-25 14:08:59 -05:00
2019-02-28 10:30:54 -06:00
2018-07-02 10:24:20 +02:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00
2018-06-08 13:40:53 +01:00