Skip to contentSkip to conversation

Questions about Physical Volumes...

linux-lvm Matt E 2 participants 2 messages Jun 12, 2003 – Jun 13, 2003

lore
Share & tools
lore

Matt E

author
#0 lore raw

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?

Anyone know anything about this?

Cheers!

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

#1 lore raw
Quoted 13 lines · Matt E

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.

Quoted 5 lines

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.

Quoted 15 lines

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
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Signature · 15 lines
Regards,
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
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-