标签:disk linu 操作 技术 com code host bsp image
#ls /sys/class/scsi_host/ (会看到有host0、host1...hostN,对每个host进行如下操作)
# echo "- - -" > /sys/class/scsi_host/host0/scan
# echo "- - -" > /sys/class/scsi_host/host1/scan
# echo "- - -" > /sys/class/scsi_host/host2/scan
操作后用fdisk -l或lvmdiskscan命令,即可查看新增的硬盘
标签:disk linu 操作 技术 com code host bsp image
原文地址:https://www.cnblogs.com/shengying/p/11164721.html