mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvconvert: disable convertion of thin to mirrors
For now this convertions is not supported, thus disabled. The only supported conversion for now is to create mirrored thin pools from mirrored devices.
This commit is contained in:
parent
6e312c56ad
commit
5b07bd3f91
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.98 -
|
Version 2.02.98 -
|
||||||
=================================
|
=================================
|
||||||
|
Disallow convertion of thins to mirrors.
|
||||||
Fix lvm2api data_percent reporting for thin volumes.
|
Fix lvm2api data_percent reporting for thin volumes.
|
||||||
Do not allow RAID LVs in a clustered volume group.
|
Do not allow RAID LVs in a clustered volume group.
|
||||||
Update lvconvert to support stacking of devs for thin meta/data devs.
|
Update lvconvert to support stacking of devs for thin meta/data devs.
|
||||||
|
@ -1494,6 +1494,13 @@ static int _lvconvert_mirrors(struct cmd_context *cmd,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* TODO: decide what should be done here */
|
||||||
|
if (lv_is_thin_type(lv)) {
|
||||||
|
log_error("Converting segment type for %s/%s to mirror is not yet supported.",
|
||||||
|
lv->vg->name, lv->name);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Adjust mimage and/or log count */
|
/* Adjust mimage and/or log count */
|
||||||
if (!_lvconvert_mirrors_parse_params(cmd, lv, lp,
|
if (!_lvconvert_mirrors_parse_params(cmd, lv, lp,
|
||||||
&old_mimage_count, &old_log_count,
|
&old_mimage_count, &old_log_count,
|
||||||
|
Loading…
Reference in New Issue
Block a user