pvmove: moving a mirror logical volume not supported?

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

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux