diff --git a/WHATS_NEW b/WHATS_NEW index 2d4e8503a..e70dc58a7 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.96 - ================================ + Fix pvmove for exclusively activated LV pvmove in clustered VG. (2.02.86) Always free hash table on update_pvid_to_vgid() in lvmetad. Update and fix monitoring of thin pool devices. Check hash insert success in lock_vg clvmd. diff --git a/lib/metadata/mirror.c b/lib/metadata/mirror.c index 45295049e..236edea2f 100644 --- a/lib/metadata/mirror.c +++ b/lib/metadata/mirror.c @@ -2070,7 +2070,10 @@ int lv_add_mirrors(struct cmd_context *cmd, struct logical_volume *lv, if (vg_is_clustered(lv->vg)) { /* FIXME: review check of lv_is_active_remotely */ - if (!_cluster_mirror_is_available(lv)) { + /* FIXME: move this test out of this function */ + /* Skip test for pvmove mirrors, it can use local mirror */ + if (!(lv->status & (PVMOVE | LOCKED)) && + !_cluster_mirror_is_available(lv)) { log_error("Shared cluster mirrors are not available."); return 0; }