[sllug-members]: Logical Volume Changes

Brandon Toone btoone at gmail.com
Fri Aug 18 15:26:39 MDT 2006


We have a RAID system and on it I used CentOS to create Logical
Volumes with a single Volume Group.  We started to run out of space so
we purchased larger drives and hot swapped them in.  I thought the new
space would just show up as "Free PE / Size" (from 'vgdisplay') but it
didn't.

Reading over the www.tldp.org's LVM guide I found a recipe
(http://www.tldp.org/HOWTO/LVM-HOWTO/recipeadddisk.html) that talks
about adding a new disk to a multi-disk scsi system that looks pretty
promising.  However the guide's first step is to

"fdisk /dev/sdg"

Since I'm using RAID and not just adding a completly new drive I don't
know what to fdisk or even if I should.  So I'm wondering if all I
need to do is extend the VG with 'vgextend' and then extend the
filesystem via the standard methods?

So, what's the best way to get this extra space allocated?  Thanks in advance.


More information about the sllug-members mailing list