Lvm

Filesystem operations (rescan- create- resize- xfs)

Disks

Rescan existing disks:

echo 1 > /sys/class/scsi_device/1\:0\:1\:0/device/rescan

Check new disk:

fdisk -l /dev/sdb

Quick new disk

Create new disk of physical volume if you see it with ‘fdisk -l’

pvcreate /dev/sdb

Extend existing volume group with new disk

vgextend rl /dev/sdb

Extend existing logical volume to the max

lvextend -l +100%FREE /dev/rl/root

Grow existing files system

xfs_growfs /dev/rl/root

Volumes

Physical / Logical Volumes

Create physical volume
pvcreate /dev/sda3
    Physical volume "/dev/sda3" successfully created.
Resize physical volume (e.g. extended in VMware)
pvresize /dev/sdb
pvdisplay
Extend physical volume group
vgextend centos /dev/sda3
    Volume group "centos" successfully extended​
vgdisplay
Extend logical volume
in G'igs
lvextend -L +8G /dev/system/volume
or full (using everything)
lvextend -l 100%FREE /dev/mapper/volume
Grow filesystem
xfs_growfs /dev/system/volume
Create new logical volume
mkfs.xfs /dev/centos/volume
see: CentOS New Partition on existing disk