Mike Christie wrote:
> Could you check that there is a
> /sys/bus/scsi/devices/ dir and what is in there and what is the output of "ls 
> -l" in there?

Yes, the directory exists, and the listing is below, I noted that from another 
node, which runs 2.6.35
the directory structure is pretty different, see also below

Or.

on the 2.6.37-rc5 system:

> [r...@cto-1 linux-2.6]# sg_map -i -x
> /dev/sg0  0 0 0 0  0  /dev/sda  ATA       WDC WD1600YS-01S  20.0
> /dev/sg1  0 0 1 0  0  /dev/sdb  ATA       WDC WD1600YS-01S  20.0
> /dev/sg2  1 0 0 0  0  /dev/sdc  ATA       WDC WD1600YS-01S  20.0
> /dev/sg3  2 0 0 0  5  /dev/scd0  PepperC   Virtual Disc 1    0.01
> /dev/sg4  27 0 0 0  12  Voltaire  vsa  1
> /dev/sg5  27 0 0 1  0  /dev/sdd  Fio  FS1-002-321-CS  1.0

> [r...@cto-1 linux-2.6]# ls -l /sys/bus/scsi/devices/
> total 0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 0:0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 0:0:1:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:1/0:0:1:0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 1:0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 2:0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host2/target2:0:0/2:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:14 27:0:0:0 -> 
> ../../../devices/platform/host27/session25/target27:0:0/27:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:14 27:0:0:1 -> 
> ../../../devices/platform/host27/session25/target27:0:0/27:0:0:1
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 host0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 host1 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host1
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 host2 -> 
> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host2
> lrwxrwxrwx 1 root root 0 Dec 16 09:12 host25 -> 
> ../../../devices/platform/host25
> lrwxrwxrwx 1 root root 0 Dec 16 09:14 host27 -> 
> ../../../devices/platform/host27
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 target0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 target0:0:1 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:1
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 target1:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0
> lrwxrwxrwx 1 root root 0 Dec 15 13:08 target2:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1d.7/usb1/1-7/1-7:1.0/host2/target2:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:14 target27:0:0 -> 
> ../../../devices/platform/host27/session25/target27:0:0


on a 2.6.35 system:


> [r...@cto-2 linux-2.6]# sg_map -i -x
> /dev/sg0  0 0 0 0  0  /dev/sda  ATA       WDC WD1600YS-01S  20.0
> /dev/sg1  0 0 1 0  0  /dev/sdb  ATA       WDC WD1600YS-01S  20.0
> /dev/sg2  1 0 0 0  0  /dev/sdc  ATA       WDC WD1600YS-01S  20.0
> /dev/sg3  2 0 0 0  5  /dev/scd0  PepperC   Virtual Disc 1    0.01
> /dev/sg4  22 0 0 0  12  Voltaire  vsa  1
> /dev/sg5  22 0 0 1  0  /dev/sdd  Fio  FS1-002-321-CS  1.0

> [r...@cto-2 linux-2.6]# ls -l /sys/bus/scsi/devices/
> total 0
> lrwxrwxrwx 1 root root 0 Dec 16 09:18 0:0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:18 0:0:1:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host0/target0:0:1/0:0:1:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:18 1:0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:18 2:0:0:0 -> 
> ../../../devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0/host2/target2:0:0/2:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:17 22:0:0:0 -> 
> ../../../devices/platform/host22/session20/target22:0:0/22:0:0:0
> lrwxrwxrwx 1 root root 0 Dec 16 09:17 22:0:0:1 -> 
> ../../../devices/platform/host22/session20/target22:0:0/22:0:0:1

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to