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

Re: [linux-lvm] pvmove problem



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

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