1.original scsi_host & drive:

    1.1 using lsscsi or lsblk to check original drive

            

            

    1.2 check original scsi_host

             

2. add a drive of SCSI 1:0

      

3. compare with scsi_host, lsscsi and kernal log

    3.1 a new entry of scsi_host(host 3)

            

    3.2 a new entry of lsscsi(/dev/sdb)

            

    3.3 There are some messages show in the kernal log

            

4. add a drive of SCSI 0:1

      

5. force system rescan drive: echo "- - -" > /sys/class/scsi_host/host2/scan.

    How do I know to scan host2? Because the boot drive(/dev/sda) is SCSI 0:0 and we can check its host number by lsscsi: [2:0:0:0].

    So if I add a drive behind this boot drive, I must echo "- - -" to host2.

6. check this new drive by lsscsi and kernal log

    6.1 lsscsi: the entry of this drive will show [2:0:1:0]

            

    6.2 kernal log:

            

文章標籤
全站熱搜
創作者介紹
創作者 stellaforauto 的頭像
stellaforauto

狂暴綿羊完勝企鵝教戰手冊

stellaforauto 發表在 痞客邦 留言(0) 人氣(20)