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

Jens Wilke jens.wilke at de.ibm.com
Wed Sep 6 09:14:13 UTC 2006


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




More information about the linux-lvm mailing list