[CentOS] Increasing existing partition and LVM size

Tue Feb 6 22:18:09 UTC 2007
Fabian Arrotin <fabian.arrotin at arrfab.net>

On Tue, 2007-02-06 at 15:10 -0500, Alfred von Campe wrote:
> On Feb 6, 2007, at 13:03, Theo Band wrote:
> 
> > I would just create an additional partition /dev/sda3 with the free  
> > space. This partition can be added to the PVS:
> 
> Of course, why didn't I think of that.
> 
> > pvcreate /dev/sda3
> > vgextend VolGroup00 /dev/sda3
> > lvextend -L20G /dev/VolGroup00/diskname
> > resize2fs      /dev/VolGroup00/diskname 20G

You can also use ext2online to avoid umounting the device 
A wiki page exists regarding lv extend :
http://wiki.centos.org/TipsAndTricks/ExpandLV
> 
> Thanks for the recipe; this worked perfectly.
> 
> > If booted from a rescue disk,
> > use lvscan to find the LVM group.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070206/0229ac4b/attachment-0005.sig>