Operating Systems
Linux volume management (LVM) creates an easy to use layer over physical disks. You can combine multiple disks and create logical storage volumes, the blog will explain you  how to create partition, formatting, and add the disk to LVM volume in CentOS Login to the server as root or sudo user
$ sudo fdisk -l
This will display the new added storage, for e.g /dev/vdb, type the below command to create physical volume
$ sudo pvcreate /dev/vdb
Add newly created physical volume /dev/vdb to an existing logical volume, in our case it root volume. To check the existing volumes you can use lvdisplay command
$ sudo vgextend centos /dev/vdb
Extend the /dev/centos/root to use the full available space
$ sudo lvm lvextend -l +100%FREE /dev/centos/root
To resize the disk size,
xfs_growfs /dev/mapper/centos-root
Verify the root volume space is extended by typing df -h