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:
parent
1c212b8a43
commit
fb46175ce7
@ -6319,6 +6319,12 @@ int lv_raid_convert(struct logical_volume *lv,
|
|||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
case 1:
|
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,
|
if (!_raid_reshape(lv, new_segtype, yes, force,
|
||||||
data_copies, region_size,
|
data_copies, region_size,
|
||||||
stripes, stripe_size, allocate_pvs)) {
|
stripes, stripe_size, allocate_pvs)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user