Resize a Volume Group in Linux

#Check size of Volume Group
df -h -T | grep vg
#Display volume group info. Check for free space
sudo vgdisplay
#Display logical volume info
sudo lvdisplay
#Test run
sudo lvextend -t -v -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
#Actual run
sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
#Resize logical volume
sudo resize2fs /dev/ubuntu-vg/ubuntu-lv
#Verify
df -h -T | grep vg

About vicki

Welcome to the Sovereign Republic of Vickistan. I am the President here. Lucky me! No taxes or laws yet. Lucky you!
This entry was posted in Linux. Bookmark the permalink.