November
18
Linux: Example of the process of expanding an xfs drive that has no partitions
df -h
fdisk -l /dev/sdc
echo 1>/sys/class/block/sdc/device/rescan
fdisk -l /dev/sdc
cat /proc/partitions | grep sd
pvs
pvresize /dev/sdc
pvs
lvdisplay
lvextend -L+20G /dev/VG_DATA2/lv_data2
xfs_growfs /dev/VG_DATA2/lv_data2
df -h