[linux-lvm] Questions about Physical Volumes...

Heinz J . Mauelshagen mauelshagen at sistina.com
Fri Jun 13 03:07:02 UTC 2003

On Thu, Jun 12, 2003 at 05:29:45PM -0700, Matt E wrote:
> Hello!
> I'm going to be adding a RAID 5 setup to my system,
> but I need to get all the data off my disks that are
> currently installed and put on to the new raid array. 
> Once this is done, I'll take one of the disks that is
> currently in my system and add it to the RAID array.
> I'm going to run LVM ontop of this RAID array.  The
> raid tools package has a tool "raidreconf" that will
> allow me to add another disk to the array without
> destroying the data on it.
> Once this is done, I'd want to use this extra space in
> LVM.  However, I can't pvcreate /dev/md0 again,
> beacuse I will already have an LVM setup on it.  Is
> there anyway to let LVM know that /dev/md0 has grown,
> so I could then use this extra space in VGs?

Use LVM2, pvcreate md0 after it has grown (which gives you a PV with
the new size) and vgcfgrestore the LVM metadata to it.

> Anyone know anything about this?
> Cheers!
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***


Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446

More information about the linux-lvm mailing list