mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-24 17:57:48 +03:00
lvconvert: update delaying message
Make more obvious the operation just got delayed (using same wording as with thin snapshots)
This commit is contained in:
parent
e822a9f38d
commit
f7fc7bc44a
@ -2057,15 +2057,15 @@ static int _lvconvert_merge_old_snapshot(struct cmd_context *cmd,
|
||||
*/
|
||||
if (lv_is_active_locally(origin)) {
|
||||
if (!lv_check_not_in_use(origin, 0)) {
|
||||
log_print_unless_silent("Can't merge until origin volume is closed.");
|
||||
log_print_unless_silent("Delaying merge since origin is open.");
|
||||
merge_on_activate = 1;
|
||||
} else if (!lv_check_not_in_use(lv, 0)) {
|
||||
log_print_unless_silent("Can't merge until snapshot is closed.");
|
||||
log_print_unless_silent("Delaying merge since snapshot is open.");
|
||||
merge_on_activate = 1;
|
||||
}
|
||||
} else if (vg_is_clustered(origin->vg) && lv_is_active(origin)) {
|
||||
/* When it's active somewhere else */
|
||||
log_print_unless_silent("Can't check whether remotely active snapshot is open.");
|
||||
log_print_unless_silent("Delaying merge since origin is remotely active.");
|
||||
merge_on_activate = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user