Linux on 390 Port <[email protected]> wrote on 06/04/2007 03:08:28 PM:
> Hi Brad, > > Thanks for the info. > > I have been using the 1st document and all items work fine when doing > the commands to /sys/bus/drivers ... but when I move over to the > /sys/bus/scsi/devices .. is always empty. > > Paul > Paul, If you're having problems with commands like these: # cat /sys/bus/scsi/devices/0\:0\:1\:0/hba_id 0.0.010a # cat /sys/bus/scsi/devices/0\:0\:1\:0/wwpn 0x5005076300c18154 # cat /sys/bus/scsi/devices/0\:0\:1\:0/fcp_lun 0x5719000000000000 # cat /sys/bus/scsi/devices/0\:0\:1\:0/block/dev 8:0 # cat /sys/bus/scsi/devices/0\:0\:1\:0/block/sda1/dev 8:1 There are extra '\' characters in there. The SCSI device IDs should be written like 0:0:1:0. Go into the directory, and do an ls to see what your SCSI device IDs look like. Mine look like this: [EMAIL PROTECTED]:cd /sys/bus/scsi/devices [EMAIL PROTECTED]:ls 0:0:0:0 1:0:0:0 2:0:0:0 3:0:0:0 [EMAIL PROTECTED]:cat /sys/bus/scsi/devices/3:0:0:0/hba_id 0.0.c403 [EMAIL PROTECTED]:cat /sys/bus/scsi/devices/3:0:0:0/wwpn 0x500507630510477a [EMAIL PROTECTED]:cat /sys/bus/scsi/devices/3:0:0:0/fcp_lun 0x4011408100000000 Thanks, Ray Higgs System z FCP Development Bld. 706, B24 2455 South Road Poughkeepsie, NY 12601 (845) 435-8666, T/L 295-8666 [EMAIL PROTECTED] ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
