You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
727 B

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;