版权声明:本文为博主原创文章,未经博主允许不得转载。博客地址:http://blog.csdn.net/huqigang,内容如有错误,欢迎留言指出,谢谢! https://cloud.tencent.com/developer/article/1436784
# ls /sys/class/scsi_host/
# echo "- - -" > /sys/class/scsi_host/host0/scan
# echo "- - -" > /sys/class/scsi_host/host1/scan
# echo "- - -" > /sys/class/scsi_host/host2/scan
# mkfs.ext4 /dev/sdb1
# mkdir /mnt/disk2
# mount /dev/sdb1 /mnt/disk2
# mount -a
# echo "/dev/sdb1 /mnt/disk2 ext4 defaults 1 2" >> /etc/fstab