Re: pvmove problem

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

 



On Sat, Aug 07, 2004 at 11:54:31AM -0500, Alasdair G Kergon wrote:
> Summary: How do I pvmove data with LVM2 if contiguous runs of
> PEs in the source LVs will have to be split up to make them fit?
  
> Quick answer:
> LVM2 doesn't support this directly yet: it's being worked on.

This code is now in CVS for testing.

It lets you restrict the PEs you want to move. 
Can only move off one PV at once (ie. only one cmdline arg).

And of course you can still restrict the PEs available for allocation
by listing them afterwards, and/or use -n to restrict the PEs
moved to those belonging to a specific LV.

pvmove /dev/sda2:1000-1999 /dev/sdb1:1000-1499:2000- /dev/sdc1:500-1000

Alasdair
-- 
agk@redhat.com
_______________________________________________
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