diff --git a/WHATS_NEW b/WHATS_NEW index 8a304dc5c..8d2a1d127 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Fix vgchange activation of snapshot with virtual origin. Activate virtual snapshot origin exclusively (only on local node in cluster). Fix lv_mirror_count to handle mirrored stripes properly. Fix failure to down-convert a mirror to linear due to udev "dev open" conflict diff --git a/tools/vgchange.c b/tools/vgchange.c index f36f27d4f..7b4eb7417 100644 --- a/tools/vgchange.c +++ b/tools/vgchange.c @@ -100,6 +100,10 @@ static int _activate_lvs_in_vg(struct cmd_context *cmd, if (!lv_is_visible(lv)) continue; + /* If LV is sparse, activate origin instead */ + if (lv_is_cow(lv) && lv_is_virtual_origin(origin_from_cow(lv))) + lv = origin_from_cow(lv); + /* Only request activation of snapshot origin devices */ if ((lv->status & SNAPSHOT) || lv_is_cow(lv)) continue;