Allocate Additional Storage on Linux VPS

Paul V.
April 21, 2016
6

Allocate additional storage on Linux volume using LVM.

Commands used for this set-up:

# df -h
# fdisk -l
# lvdisplay
# pvcreate /dev/sdb
# vgdisplay
# vgextend centos /dev/sdb
# vgdisplay
# lvextend -L+”your size”G /dev/centos/root
# lvdisplay
# xfs_growfs /dev/centos/root

More Info : https://www.rootusers.com/lvm-resize-how-to-increase-an-lvm-partition/

Leave a Reply

Your email address will not be published. Required fields are marked *