dm_list_iterate_items(lvl, lvs) {
if (!activate_lv_excl_local(cmd, lvl->lv)) {
- log_error("Failed to activate %s", display_lvname(lvl->lv));
+ log_error("Failed to locally exclusively activate %s.",
+ display_lvname(lvl->lv));
dm_list_uniterate(lvh, lvs, &lvl->list) {
lvl = dm_list_item(lvh, struct lv_list);
if (!deactivate_lv(cmd, lvl->lv))
continue;
if (lv_is_converting(lv) || lv_is_merging(lv)) {
- log_error("Unable to pvmove when %s volumes are present.",
- lv_is_converting(lv) ?
- "converting" : "merging");
+ log_error("Unable to pvmove when %s volume %s is present.",
+ lv_is_converting(lv) ? "converting" : "merging",
+ display_lvname(lv));
return NULL;
}
return_NULL;
/*
- * Remove any PVs holding SubLV siblings to allow
- * for collocation (e.g. *rmeta_0 -> *rimage_0).
- *
- * Callee checks for lv_name and valid raid segment type.
- *
- * FIXME: don't rely on namespace
- */
+ * Remove any PVs holding SubLV siblings to allow
+ * for collocation (e.g. *rmeta_0 -> *rimage_0).
+ *
+ * Callee checks for lv_name and valid raid segment type.
+ *
+ * FIXME: don't rely on namespace
+ */
if (!_remove_sibling_pvs_from_trim_list(lv, lv_name, &trim_list))
return_NULL;
if (lv_is_locked(lv)) {
lv_skipped = 1;
- log_print_unless_silent("Skipping locked LV %s.", lv->name);
+ log_print_unless_silent("Skipping locked LV %s.", display_lvname(lv));
continue;
}
lv_is_active(lv) &&
!lv_is_active_exclusive_locally(lv)) {
lv_skipped = 1;
- log_print_unless_silent("Skipping LV %s which is activated "
- "exclusively on remote node.", lv->name);
+ log_print_unless_silent("Skipping LV %s which is active, "
+ "but not locally exclusively.",
+ display_lvname(lv));
continue;
}