Hi all
I meet with a problem with scsi disks, who can help
me?
How to get the host number of a scsi disk?
I used to get scsi information of a certain scsi device by
scsi_info, but it can get host number :-(
scsi_info /dev/sda
SCSI_ID="0,0,0"
MODEL="Intel RC-2500" FW_REV="1918" cat /proc/scsi/scsi:
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-40TS Rev: 1.12 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: Intel Model: RC-2500 Rev: 1918 Type: Direct-Access ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 00 Lun: 01 Vendor: Intel Model: RC-2500 Rev: 1918 Type: Direct-Access ANSI SCSI revision: 02 |