Re: Combine multiple physical volumes onto a larger device

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

 



Greg> I'm sure this has been asked and answered before, but after a
Greg> fair bit of googleing I'm not coming up with an answer.

You want to use 'pvmove' to get the LVs off the PV(s) you want to
evacuate.  Now are these PVs stripped or mirrored or RAID'd in any
way?  Then you don't want to just blindly move things around because
you'll run into performance issues.

Basically, it depends.  Can you provide more details of your setup so
w can help?  

Greg> I have a fairly old volume group that is made of 9 x 620GB PVs. 

Are these 9 seperate 1Tb drives?  

Greg> I'd like to move this volume group off these devices onto a
Greg> couple larger drives.  What is the best way to do this?  I've
Greg> read that you can vgextend the new drives into the volume group
Greg> and the use pvmove to move data off one PV to another, but I
Greg> don't know if you can pvmove smaller pvs onto a larger disk and
Greg> they will all be combined.

So it sounds like you have your PVs striped together into a single
volume, correct?  

Greg> Maybe there is a better way to move the entire VG?    I want to
Greg> maintain the current VG and LV names from my old setup, this my
Greg> desire to just move the entire lot at once instead of rsyncing
Greg> or something.

It might make sense to build new PVs, and then mirror the existing
volume(s) onto the new disks, then you can remove the old mirrors.
This would let you take 9 x 10g LVs that are striped together and
mirror them with say 3 x 30g LVs so that your data gets laid out
properly.

But it all depends on your setup details.  Please post them so we can
comment on this.

John

_______________________________________________
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