mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
thin: improve lvconvert messages
Add more info into printed message.
This commit is contained in:
parent
d1d50d4023
commit
16424fed54
@ -2570,7 +2570,9 @@ static int _lvconvert_thinpool_external(struct cmd_context *cmd,
|
|||||||
goto deactivate_and_revert_new_lv;
|
goto deactivate_and_revert_new_lv;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_print_unless_silent("Converted %s/%s to thin external origin.",
|
log_print_unless_silent("Converted \"%s/%s\" to thin volume with "
|
||||||
|
"external origin \"%s/%s\".",
|
||||||
|
vg->name, torigin_lv->name,
|
||||||
vg->name, external_lv->name);
|
vg->name, external_lv->name);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
@ -2954,7 +2956,7 @@ mda_write:
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_print_unless_silent("Converted %s/%s to %s pool.",
|
log_print_unless_silent("Converted \"%s/%s\" to %s pool.",
|
||||||
pool_lv->vg->name, pool_lv->name,
|
pool_lv->vg->name, pool_lv->name,
|
||||||
(segtype_is_cache_pool(lp->segtype)) ?
|
(segtype_is_cache_pool(lp->segtype)) ?
|
||||||
"cache" : "thin");
|
"cache" : "thin");
|
||||||
|
Loading…
Reference in New Issue
Block a user