1.登陆VC,添加硬盘##
2.登陆到Linux主机##
3.在线扫盘##
[root@cnsz22pl0074:/root]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@cnsz22pl0074:/root]# echo "- - -" > /sys/class/scsi_host/host1/scan
[root@cnsz22pl0074:/root]# echo "- - -" > /sys/class/scsi_host/host2/scan
4.查看磁盘状态##
[root@cnsz22pl0074:/root]# fdisk -l | grep ^Disk
5.创建PV##
[root@cnsz22pl0074:/root]# pvcreate /dev/sdd
6.扩容VG##
[root@cnsz22pl0074:/root]# vgextend VolGroup00 /dev/sdd
7.扩容LV##
[root@cnsz22pl0074:/root]# lvextend -l +100%FREE /dev/mapper/VolGroup00-LVapp
[root@cnsz22pl0074:/root]# lvextend -L +100g /dev/mapper/VolGroup00-LVapp
8.格式化##
[root@cnsz22pl0074:/root]# resize2fs /dev/mapper/VolGroup00-LVapp
9.检查状态##
[root@cnsz22pl0074:/root]# df -h