using lvconvert for mirroring

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

 



I have been playing with lvconvert but I can't quite figure out what it is 
doing.  If I start with this:

	Debian# lvs -o +devices
	  LV    VG   Attr   LSize Origin Snap%  Move Log Copy%  Devices
	  lvol0 vg1  -wima- 7.81G                               /dev/hde2(0)

Then run:

	Debian# lvconvert -m1 vg1/lvol0

I get this:

Debian# lvs -o +devices
	  LV    VG   Attr   LSize Origin Snap%  Move Log        Copy%  Devices                         
	  lvol0 vg1  mwima- 7.81G                    lvol0_mlog   2.75 lvol0_mimage_0			          
(0),lvol0_mimage_1(0)

So my first question is how do I find out where the mirror really is? I have 
also tried specifying the physical volume at the end of the command to put 
the mirror on a different pv but then I get this error message:

	Debian# lvconvert -m1 vg1/lvol0 /dev/hdg1
	  Not enough PVs with free space available for parallel allocation.
	  Consider --alloc anywhere if desperate.

Thank you for any insight.

_______________________________________________
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