On Thu, Jun 24, 2010 at 02:53:23PM -0400, Bob McCarthy wrote:
> Ray,
>    The following displays are for the 2nd RedHat guest that is brought
> up. It fails.
>
>
> kernel: zfcp: The adapter 0.0.2107 reported the following
> characteristics:
>  tdcrac02 kernel: WWNN 0x5005076400cb90c4, WWPN 0x500507640162c859, S_ID
> 0x00014c00,
>  tdcrac02 kernel: adapter version 0x4, LIC version 0xb02, FC link speed
> 4 Gb/s
>  tdcrac02 kernel: zfcp: Switched fabric fibrechannel network detected at
> adapter 0.0.2107.
>  tdcrac02 kernel: zfcp: unit erp failed on unit 0x4011402600000000 on
> port 0x50050763030384ac  on adapter 0.0.2107
>  tdcrac02 kernel: zfcp: unit erp failed on unit 0x4011402600000000 on
> port 0x500507630308c4ac  on adapter 0.0.2107
>
> [r...@tdcrac02 log]# lscss | grep 2107
> 0.0.2107 0.0.0008  1732/03 1731/03 yes  80  80  ff   50000000 00000000
>
> [r...@tdcrac02 ~]# lszfcp -D
> Error: No fcp devices found.

lszfcp -D looks at the available SCSI devices in the Linux kernel. If
there are no SCSI devices, then the output will be empty, as it is
here. One possibility would be that the LUN on the storage is not
mapped for the WWPN of the FCP channel.

If this is the case, then the Linux kernel tries to add a SCSI device
for the LUN, queries the LUN on the storage, the storage returns
something along "the LUN is invalid" and the Linux kernel stops the
creating this SCSI device.

You could try to increase the Linux kernel messages for the SCSI
device discovery:
scsi_logging_level -s --scan 3
It should show more information and i would expect some sort of
"invalid LUN" message before the "unit erp failed".

> [r...@tdcrac02 ~]# lszfcp -a -b 0.0.2107
> 0.0.2107 host0
[...]
>     port_name           = "0x500507640162c859"

This is the WWPN of the FCP channel that the storage server will see.
I would suggest checking the configuration on the storage server to
check if the LUN 0x4011402600000000 is mapped and visible for this
WWPN.

> > On Thu, Jun 24, 2010 at 10:43, Bob McCarthy
> > <[email protected]>
> wrote:
[...]
> > > Jun 21 15:36:52 tdcrac02 kernel: zfcp: Switched fabric fibrechannel
> > > network detected at adapter 0.0.8001.
> > > Jun 21 15:36:52 tdcrac02 kernel: zfcp: unit erp failed on unit
> > > 0x0020000000000000 on port 0x5001738001820141  on adapter 0.0.8001
> > > We are running zVM V5.4 and RedHat linux v5.5. The fcp disk is
> > > assigned separate channel paths in each guest through DEDICATE
> > > statements in vm.

If i remember correctly, the lsluns is also part of the s390-tools
package in RHEL 5.5. You can run lsluns to query the LUNs that are
available on the storage server for the Linux system where you run
lsluns.

With the above information, i would guess that this LUN is not
available for the RHEL5.5 system.

I hope this helps in tracking down the problem,

Christof

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to