[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] pvmove: moving a mirror logical volume not supported?



Hello!

When trying to do a pvmove on a mirrored logical volume
I get the message "No data to move..."

pvmove /dev/dasdx1
  Skipping mirror LV m1m
  Skipping mirror LV m1m_mlog
  Skipping mirror image LV m1m_mimage_0
  Skipping mirror image LV m1m_mimage_1
  No data to move for main

Looking in the pvmove code reveals that mirror lvs are
intentionally skipped:

--snip--
		if (lv->status & MIRRORED) {
			log_print("Skipping mirror LV %s", lv->name);
			continue;
		}
		if (lv->status & MIRROR_LOG) {
			log_print("Skipping mirror log LV %s", lv->name);
			continue;
		}
		if (lv->status & MIRROR_IMAGE) {
			log_print("Skipping mirror image LV %s", lv->name);
			continue;
		}
--snip--

What is the reason for this?

Best,

Jens


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]