linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] will pvmove'ing (an LV at a time) defragment?
@ 2010-04-29 16:59 Brian J. Murrell
  2010-04-29 18:13 ` Alasdair G Kergon
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Brian J. Murrell @ 2010-04-29 16:59 UTC (permalink / raw)
  To: linux-lvm

If I currently have a volume group consisting of two drives and I add a third 
drive and them pvmove from the two existing drives to the new drive, will that 
defragment my LVs?  i.e.:

# pvmove /dev/sda2 /dev/sdb /dev/sdc

where /dev/sdc is the new empty drive.

Or will it just move the PEs from each source disk (in turn) in the order they 
appear on the source disk, effectively just concatenating the two sources disks 
to the new target disk?

If the answer to the above is yes, if I limit my pvmoves to a single LV at a 
time, will that defragment the LVs or will it simply move the "chunks" of the LV 
from the first source disk to the target disk followed by the chunks from the 
second source disk?  (Although likely that will have the desired effect anyway, 
as the second disk was added subsequent to the first disk getting fullish.)

Cheers,
b.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-01 22:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-29 16:59 [linux-lvm] will pvmove'ing (an LV at a time) defragment? Brian J. Murrell
2010-04-29 18:13 ` Alasdair G Kergon
2010-04-29 18:23 ` Phillip Susi
2010-05-01 13:26 ` Brian J. Murrell
2010-05-01 22:19   ` Phillip Susi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).