1. SCSI设备支持热插拔
2. SCSI设备支持动态发现
2种方法查看scsi信息
cat /proc/scsi/scsi
yum install lsscsi –y
lsscsi
[1:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[2:0:0:0] disk VMware, VMware Virtual S 1.0 /dev/sda
cd /sys/class/scsi_host/host1/device/target1:0:0/1:0:0:0
echo 1 > delete
这时可以热插拔
lsscsi
/sys/class/scsi_host/host1/device/target1:0:0/1:0:0:0
cd /sys/class/scsi_host/host1
echo echo "- - -" > scan
恢复
lsscsi
[1:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[2:0:0:0] disk VMware, VMware Virtual S 1.0 /dev/sda
阅读(1453) | 评论(0) | 转发(0) |