1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Fix error message when pvmove LV activation fails with name already in use.

This commit is contained in:
Alasdair Kergon 2012-03-13 20:21:26 +00:00
parent cbf86d952b
commit 1b80b1086f
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.96 - Version 2.02.96 -
================================ ================================
Fix error message when pvmove LV activation fails with name already in use.
Better structure layout for device_info in dev_subsystem_name(). Better structure layout for device_info in dev_subsystem_name().
Change message severity for creation of VG over uninitialised devices. Change message severity for creation of VG over uninitialised devices.
Fix error path for failing toolcontext creation. Fix error path for failing toolcontext creation.

View File

@ -369,7 +369,7 @@ static int _update_metadata(struct cmd_context *cmd, struct volume_group *vg,
} }
if (!_suspend_lvs(cmd, first_time, lv_mirr, lvs_changed, vg)) { if (!_suspend_lvs(cmd, first_time, lv_mirr, lvs_changed, vg)) {
log_error("ABORTING: Volume group metadata update failed. (first_time: %d)", first_time); log_error("ABORTING: Temporary pvmove mirror %s failed.", first_time ? "activation" : "reload");
/* FIXME Add a recovery path for first time too. */ /* FIXME Add a recovery path for first time too. */
if (!first_time && !revert_lv(cmd, lv_mirr)) if (!first_time && !revert_lv(cmd, lv_mirr))
stack; stack;