lsscsi -g 查看系统下SATA盘信息
移除sdb:
echo 1 > cd sys/class/scsi_device/18:0:0:0/device/delete
echo 1 > /sys/block/sdb/device/delete
重新挂载磁盘:
echo “- - -” > /sys/class/scsi_host/host18/scan
lsscsi -g 查看系统下SATA盘信息
移除sdb:
echo 1 > cd sys/class/scsi_device/18:0:0:0/device/delete
echo 1 > /sys/block/sdb/device/delete
重新挂载磁盘:
echo “- - -” > /sys/class/scsi_host/host18/scan