hostname && df -h /var/lib/pgsql/9.4/data ls -l /dev/sd* #vCenterにログインして30 Gディスクを追加 ls -l /dev/sd* ls -l /sys/class/scsi_host/ echo "- - -" > /sys/class/scsi_host/host0/scan echo "- - -" > /sys/class/scsi_host/host1/scan echo "- - -" > /sys/class/scsi_host/host2/scan ls -l /dev/sd* fdisk -l /dev/sdi fdisk /dev/sdi p -> n -> p -> t -> 8e -> p -> w pvcreate /dev/sdi1 vgdisplay VGdata vgextend VGdata /dev/sdi1 vgdisplay VGdata lvdisplay /dev/VGdata/LVdata lvextend /dev/mapper/VGdata-LVdata /dev/sdi1 lvdisplay /dev/VGdata/LVdata cat /etc/fstab xfs_growfs /dev/mapper/VGdata-LVdata hostname && df -h /var/lib/pgsql/9.4/data exit
标签:扩容,dev,sys,host,LVdata,ls,LVM,VGdata From: https://www.cnblogs.com/gzb891/p/17074757.html