Version 2.02.110 -
==================================
+ Remove spurious "Skipping mirror LV" message on pvmove of clustered mirror.
Version 2.02.109 - 5th August 2014
==================================
continue;
/*
- * RAID, thin, mirror, and snapshot-related LVs are not
- * processed in a cluster, so we don't have to worry about
- * avoiding certain PVs in that context.
+ * RAID, thin and snapshot-related LVs are not
+ * processed in a cluster, so we don't have to
+ * worry about avoiding certain PVs in that context.
*/
- if (vg_is_clustered(lv->vg))
- continue;
+ if (vg_is_clustered(lv->vg)) {
+ /* Allow clustered mirror, but not raid mirror. */
+ if (!lv_is_mirror_type(lv) || lv_is_raid(lv))
+ continue;
+ }
if (!lv_is_on_pvs(lv, source_pvl))
continue;
*/
if (vg_is_clustered(vg) &&
(lv_is_origin(lv) || lv_is_cow(lv) ||
- lv_is_thin_type(lv) || lv_is_raid_type(lv) ||
- lv_is_mirrored(lv))) {
+ lv_is_thin_type(lv) || lv_is_raid_type(lv))) {
log_print_unless_silent("Skipping %s LV %s",
lv_is_origin(lv) ? "origin" :
lv_is_cow(lv) ?
seg_is_raid(first_seg(lv)) ?
"RAID" :
lv_is_raid_type(lv) ?
- "RAID-related" :
- lv_is_mirrored(lv) ?
- "mirror" :
- lv_is_mirror_type(lv) ?
- "mirror-related" : "",
+ "RAID-related" : "",
lv->name);
lv_skipped = 1;
continue;