Monday, March 3, 2014

Increase disk capacity with LVM


Increase your SUN allocation from your SAN storage, then do the following in your Ubuntu:

pvdisplay

fdisk /dev/sda  #create a primary partition of 50GB new

partprobe

pvcreate /dev/sda3

pvdisplay

vgdisplay

vgextend NGSNODE1-vg /dev/sda3

lvextend -L+50G /dev/NGSNODE1-vg/root

vgchange -a y NGSNODE1-vg  #activate

resize2fs /dev/NGSNODE1-vg/root

lvdisplay

No comments:

Post a Comment