diff --git a/WHATS_NEW b/WHATS_NEW index 887a25650..04be5f104 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.104 =================================== + Report RAID images split with tracking as out-of-sync ("I"). Improve parsing of snapshot lv segment. Add workaround for deactivation problem of opened virtual snapshot. Disable unsupported merge for virtual snapshot. diff --git a/lib/metadata/lv.c b/lib/metadata/lv.c index e3fda188f..e59bd8e12 100644 --- a/lib/metadata/lv.c +++ b/lib/metadata/lv.c @@ -565,7 +565,13 @@ char *lv_attr_dup(struct dm_pool *mem, const struct logical_volume *lv) else if (lv->status & MIRROR_IMAGE) repstr[0] = (_lv_mimage_in_sync(lv)) ? 'i' : 'I'; else if (lv->status & RAID_IMAGE) - repstr[0] = (_lv_raid_image_in_sync(lv)) ? 'i' : 'I'; + /* + * Visible RAID_IMAGES are sub-LVs that have been exposed for + * top-level use by being split from the RAID array with + * '--splitmirrors 1 --trackchanges'. They always report 'I'. + */ + repstr[0] = (!lv_is_visible(lv) && _lv_raid_image_in_sync(lv)) ? + 'i' : 'I'; else if (lv->status & MIRROR_LOG) repstr[0] = 'l'; else if (lv_is_cow(lv))