1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

lvconvert: disable reshaping of RAID LVs in the cluster

Disable until we have a proper fix for reshape space allocation,
switching it to begin/end of rimages and activation in the cluster.

Related: rhbz1448116
Related: rhbz1461526
Related: rhbz1448123
This commit is contained in:
Heinz Mauelshagen 2017-06-19 20:01:01 +02:00
parent 1c212b8a43
commit fb46175ce7

View File

@ -6319,6 +6319,12 @@ int lv_raid_convert(struct logical_volume *lv,
case 0:
break;
case 1:
/* Conversion of reshapable raids is the cluster is not supported yet. */
if (locking_is_clustered()) {
log_error("Conversion of %s not supported in the cluster.", display_lvname(lv));
return 0;
}
if (!_raid_reshape(lv, new_segtype, yes, force,
data_copies, region_size,
stripes, stripe_size, allocate_pvs)) {