Problem:
no space left on » / » (centos-root).
0 bytes left.
Solution:
Rescan device
Create a partition (sda3)
Extend VG without meta backup
Extend LV without meta backup
xfs.grow root partition.
echo «1» > /sys/class/block/sda/device/rescan
# if add new disk, # or if reboot is available expand partiton with gparted # or fdisk by deleting and creating new partition echo "1" > /sys/class/block/sda/device/rescan fdisk /dev/sda ### create sda3 partition ### n ### primary ### (yyy) # check VG name vgdisplay # 'centos' is a VG name in this example: VG Name centos vgextend -A n centos /dev/sda3 # Get lv volume Example: /dev/mapper/centos_centos-root blkid # Extend volume to 100% of free space in VG lvextend -A n -l 100%VG /dev/mapper/centos-root # Grow filesystem to max available space xfs_growfs /dev/mapper/centos-root # verify free space on " / " df -h