18 lines
727 B
Diff
18 lines
727 B
Diff
tools/pvmove.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/tools/pvmove.c b/tools/pvmove.c
|
|
index 3a447c4..cecff00 100644
|
|
--- a/tools/pvmove.c
|
|
+++ b/tools/pvmove.c
|
|
@@ -397,7 +397,8 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd,
|
|
/* Presence of exclusive LV decides whether pvmove must be also exclusive */
|
|
if (!seg_only_exclusive(seg)) {
|
|
holder = lv_lock_holder(lv);
|
|
- if (seg_only_exclusive(first_seg(holder)) || lv_is_origin(holder) || lv_is_cow(holder))
|
|
+ if (seg_only_exclusive(first_seg(holder)) || lv_is_origin(holder) ||
|
|
+ lv_is_cow(holder) || lv_is_active_exclusive(holder))
|
|
needs_exclusive = 1;
|
|
} else
|
|
needs_exclusive = 1;
|