1、查看scsci设备(scsi接口或者fc)
ls /sys/class/scsi_host
host0 host1 host2
]# pwd
/sys/class/fc_host/host1
]# cat /sys/class/fc_host/host*/port_name
0x100000109b144b23
0x100000109b144b24
2:检查本机现有硬盘
]# fdisk /dev/sda
sda sda1 sda2 sda3
或者fdisk -l
3、扫盘
echo “- - -” > /sys/class/scsi_host/host*/scan
4、确认下
fdisk -l
5、继续其他操作