Version 2.02.48 -
===============================
+ When creating new LV, double-check that name is not already in use.
Remove /dev/vgname/lvname symlink automatically if LV is no longer visible.
Rename internal vorigin LV to match visible LV.
Suppress 'removed' messages displayed when internal LVs are removed.
log_error("Failed to generate unique name for the new "
"logical volume");
return NULL;
+ } else if (find_lv_in_vg(vg, name)) {
+ log_error("Unable to create LV %s in Volume Group %s: "
+ "name already in use.", name, vg->name);
+ return NULL;
}
log_verbose("Creating logical volume %s", name);