Hi All,
I have one VM on vmware ESX 6 with 4 disks and 1 CD ROM. One disk is attached to one controller and other 3 are to 2nd controller. The proc/scsi entry is shown as below:
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: NECVMWar Model: VMware IDE CDR10 Rev: 1.00
Type: CD-ROM ANSI SCSI revision: 05
Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 01 Lun: 00
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 02 Lun: 00
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 03 Lun: 00
Vendor: VMware Model: Virtual disk Rev: 1.0
Type: Direct-Access ANSI SCSI revision: 02
The scsi_host entry is shown as :
for f in ls /sys/class/scsi_host
; do echo ${f#host}; done | sort -n | xargs -i ls -ld /sys/class/scsi_host/host{}
lrwxrwxrwx 1 root root 0 Jan 5 12:04 /sys/class/scsi_host/host0 → …/…/devices/pci0000:00/0000:00:10.0/host0/scsi_host/host0
lrwxrwxrwx 1 root root 0 Jan 5 12:04 /sys/class/scsi_host/host1 → …/…/devices/pci0000:00/0000:00:07.1/ata1/host1/scsi_host/host1
lrwxrwxrwx 1 root root 0 Jan 5 12:04 /sys/class/scsi_host/host2 → …/…/devices/pci0000:00/0000:00:07.1/ata2/host2/scsi_host/host2
lrwxrwxrwx 1 root root 0 Jan 5 12:04 /sys/class/scsi_host/host3 → …/…/devices/pci0000:00/0000:00:11.0/0000:02:00.0/host3/scsi_host/host3
The drivers corresponding to these hosts is shown as :
for f in ls /sys/class/scsi_host
; do echo ${f#host}; done | sort -n | xargs -i cat /sys/class/scsi_host/host{}/proc_name
mptspi
ata_piix
ata_piix
mptspi
I am wondering why the mptspi driver is not claiming the scsi slots successively like
mptspi
mptspi
ata_piix
ata_piix
Can anybody shade some light here.
Thanks,
Shilpa