diff --git a/WHATS_NEW b/WHATS_NEW index c828fb655..c30e9ee0f 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.41 - ===================================== + In resume_mirror_images replace activate_lv with resume_lv as workaround. Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE. Fix snapshot monitoring library to not cancel monitoring invalid snapshot. Generate man pages from templates and include version. diff --git a/lib/metadata/mirror.c b/lib/metadata/mirror.c index 12ba0a136..5c01128de 100644 --- a/lib/metadata/mirror.c +++ b/lib/metadata/mirror.c @@ -598,13 +598,13 @@ static int _remove_mirror_images(struct logical_volume *lv, log_very_verbose("Updating \"%s\" in kernel", mirrored_seg->lv->name); /* - * Avoid having same mirror target loaded twice simultaneouly by first - * activating the removed LV which now contains an error segment. - * As it's now detached from mirrored_seg->lv we must activate it + * Avoid having same mirror target loaded twice simultaneously by first + * resuming the removed LV which now contains an error segment. + * As it's now detached from mirrored_seg->lv we must resume it * explicitly. */ - if (lv1 && !activate_lv(lv1->vg->cmd, lv1)) { - log_error("Problem reactivating removed %s", lv1->name); + if (lv1 && !resume_lv(lv1->vg->cmd, lv1)) { + log_error("Problem resuming temporary LV, %s", lv1->name); return 0; }