Hi Ray,

Yes that's what I did cd /sys/bus/scsi/devices and did an ls ... empty
also a cat /proc/scsi and cat /proc/scsi/scsi is empty too. lstape is
blank.

On the wwnn and wwpn side at first I was trying to use what filled in
there when I echo'ed 1 to online but then on the vm console I would see
an error.

Later I was able to get the real wwnn and for the tape_controler and the
wwpn for each of the two tape drives (putting them on 0.0.1a06 and
0.0.a107)
Now when I try to start them there are no errors and also when I boot
the
System the boot messages say that SCSI is stating ok.

I'm still a bit unsure as to how to setup the /etc/zfcp.conf format and
am hopping that is my problem but again following the steps I the doc 
works fine for all the /sys/bus/scsi/drivers stuff but not the devices
stuff.

A vmcp q fcp does show 1a06 and 1a07 are attached.
 


Thanks,


-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Raymond Higgs
Sent: Monday, June 04, 2007 6:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: RHEL 4 - FCP - tape drives

Linux on 390 Port <LINUX-390@VM.MARIST.EDU> 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

----------------------------------------------------------------------
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

Reply via email to