1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvconvert: show name of activated volume

Display the name of volume that needs to be activated for merging.
This commit is contained in:
Zdenek Kabelac 2014-08-14 11:12:02 +02:00
parent e8bbcda2a3
commit 10e3715564
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.110 -
==================================
Print name of LV which on activation triggers delayed snapshot merge.
Add lv_layout and lv_type LV reporting fields.
Properly display lvs lv_attr volume type and target type bit for cache origin.
Fix pvcreate_check() to update cache correctly after signature wiping.

View File

@ -2216,7 +2216,8 @@ static int _lvconvert_merge_old_snapshot(struct cmd_context *cmd,
return_0;
r = 1;
log_print_unless_silent("Merging of snapshot %s will start "
"next activation.", lv->name);
"next activation of %s.",
display_lvname(lv), display_lvname(origin));
goto out;
}
@ -2323,7 +2324,8 @@ static int _lvconvert_merge_thin_snapshot(struct cmd_context *cmd,
return_0;
log_print_unless_silent("Merging of thin snapshot %s will occur on "
"next activation.", lv->name);
"next activation of %s.",
display_lvname(lv), display_lvname(origin));
r = 1;
out:
backup(lv->vg);