标签:localhost class nbsp 增加 scan root 识别 oca 虚拟
[root@localhost opt]# ls /sys/class/scsi_host/
host0 host1 host2
[root@localhost opt]#
[root@localhost opt]#
[root@localhost opt]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@localhost opt]# echo "- - -" > /sys/class/scsi_host/host1/scan
[root@localhost opt]# echo "- - -" > /sys/class/scsi_host/host2/scan
[root@localhost opt]#
[root@localhost opt]#
[root@localhost opt]# ls /sys/class/scsi_device/
0:0:0:0 1:0:0:0 2:0:0:0 2:0:1:0 2:0:2:0
[root@localhost opt]#
[root@localhost opt]#
[root@localhost opt]# echo 1 > /sys/class/scsi_device/0\:0\:0\:0/device/rescan
[root@localhost opt]# echo 1 > /sys/class/scsi_device/1\:0\:0\:0/device/rescan
[root@localhost opt]# echo 1 > /sys/class/scsi_device/2\:0\:0\:0/device/rescan
[root@localhost opt]# echo 1 > /sys/class/scsi_device/2\:0\:1\:0/device/rescan
[root@localhost opt]# echo 1 > /sys/class/scsi_device/2\:0\:2\:0/device/rescan
标签:localhost class nbsp 增加 scan root 识别 oca 虚拟
原文地址:https://www.cnblogs.com/heruiguo/p/8796779.html