添加硬盘后
ls /dev/sd*
不重启添加硬盘
[root@localhost ~]# cd /sys/class/scsi_host/
[root@localhost scsi_host]# ls
host0 host1 host2
[root@localhost scsi_host]# echo “- – -” > /sys/class/scsi_host/host0/scan
[root@localhost scsi_host]# echo “- – -” > /sys/class/scsi_host/host1/scan
[root@localhost scsi_host]# echo “- – -” > /sys/class/scsi_host/host2/scan
fdisk /dev/sdd
n
本文来自投稿,不代表Linux运维部落立场,如若转载,请注明出处:http://www.178linux.com/87985