Version 2.02.96 -
================================
+ Disallow changing cluster attribute of VG while RAID LVs are active.
Fix lvconvert error message for non-mergeable volumes.
Allow subset of failed devices to be replaced in RAID LVs.
Prevent resume from creating error devices that already exist from suspend.
* on active mirrors or snapshots.
*/
dm_list_iterate_items(lvl, &vg->lvs) {
- if (lv_is_mirrored(lvl->lv) && lv_is_active(lvl->lv)) {
- log_error("Mirror logical volumes must be inactive "
- "when changing the cluster attribute.");
+ if (lv_is_active(lvl->lv) &&
+ (lv_is_mirrored(lvl->lv) || lv_is_raid_type(lvl->lv))) {
+ log_error("%s logical volumes must be inactive "
+ "when changing the cluster attribute.",
+ lv_is_raid_type(lvl->lv) ? "RAID" : "Mirror");
return 0;
}