Archive

Posts Tagged ‘Resize LVM -Centos’

Resize LVM -Centos

January 18th, 2010 Dhaval Thakar No comments

Here We are sharing guide to resize LVM size.

create new partition

ADD PHYSICAL VOLUME

pvcreate /dev/new_partition

Verify new physical volume

pvdisplay
Or
pvscan

Extend existing VOLUME GROUP

vgextend VolGroup00 /dev/xvda3

make sure vg free size is = new partition size using vgdisplay command

Extend existing LVM by adding new partition

lvextend /dev/VolGroup00/LogVol00 /dev/xvda3

make sure lv size is increased, use lvdisplay

RESIZE FILE SYSTEM

resize2fs /dev/VolGroup00/LogVol00

Google Buzz