Skip to contentSkip to conversation

Re-striping (reorgvg)

linux-lvm Louis Guillaume 1 participant 1 message Nov 21, 2006

lore
Share & tools
lore
#0 lore raw

Hi!

I'm relatively new to LVM on Linux, but have a lot of experience with AIX's LVM.

Everything makes sense, except I have not found any information on how to do the following:

1. Add a PV to a volume group. (this is easy)

2. Reorganize the volume group to spread the
Physical Extents evenly across all PVs in
the volume group.

I've looked at setting up a striped configuration to spread the PE's between the PVs. And that's all well and good. But what happens when I add another PV to the VG? Looks like I'll end up with a mess.

On AIX I would...

. extendvg
. reorgvg

... and now my new PV is nicely added to the VG with the Physical partitions nicely spread evenly between all the PVs.

How can I do this on Linux?

Louis