1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-24 14:50:34 +03:00
Zdenek Kabelac b9926fb1be 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 17:48:49 +01:00
..
2016-04-29 19:47:15 +01:00
2018-04-30 16:55:02 -05:00
2019-04-10 13:30:34 +02:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2018-07-04 13:41:08 +02:00
2016-01-21 12:11:37 +01:00
2018-05-31 10:23:03 -05:00
2018-06-26 12:15:44 +02:00
2016-10-03 17:49:56 +02:00