zfcp questions

2010-06-08 Thread Philip Tully
Hello,

 

I am in the beginning to implement FCP disk connections on a series of li
nux
machines running SLES 10 sp2+, during startup I receive the following ser
ies
of messages:

Configuring device 0.0.0800
 
   
 
 
  

scsi0 : zfcp 
 
 
 
 
  

09:24:36 zfcp: The adapter 0.0.0800 reported the following characteristic
s:
 
 
  

WWNN 0x5005076400caa584, WWPN 0xc05076efed800400, S_ID 0x00ab004f,   
  
 
 
  

adapter version 0x4, LIC version 0x2b, FC link speed 4 Gb/s 
   
 
 
  

zfcp: Switched fabric fibrechannel network detected at adapter 0.0.0800. 
  
 
 
  

Activating zfcp disk 0.0.0800:0x597208239950:0x000e  
  
 
 
  

No configuration file for adapter 0.0.0800   
  
 
 
  

Configuring FCP disk 597208239950:000e

 

I have 2 questions: 

1 The startup looks good except for the “No configuration file for adap
ter
0.0.0800” message since I have the file 

 /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 included at the bott
om.

2 When I issue the command hwup 0.0.0800 I receive the following error me
ssage:

 

cdlvmeng001:/etc/sysconfig/hardware # hwup 0.0.0800

Cannot handle subsystem ''

 

Regards,

Phil Tully

 

 

 

cdlvmeng001:/etc/sysconfig/hardware # cat hwcfg-zfcp-bus-ccw-0.0.0800

!/bin/sh

#

# hwcfg-zfcp-bus-ccw-0.0.0800

#

# Configuration for the zfcp adapter at CCW ID 0.0.0800

#

 

STARTMODE=auto

MODULE=zfcp

MODULE_OPTIONS=

MODULE_UNLOAD=yes

 

# Scripts to be called for the various events.

# If called manually the event is set to 'up'.

SCRIPTUP=hwup-ccw

SCRIPTUP_ccw=hwup-ccw

SCRIPTUP_scsi_host=hwup-zfcp

SCRIPTDOWN=hwdown-scsi

SCRIPTDOWN_scsi=hwdown-zfcp

 

# Configured zfcp disks

ZFCP_LUNS=

0x597208239950:0x000e

0x597208239950:0x000f

0x597208239950:0x0010

0x597208239950:0x0012

0x597208239950:0x0014

0x597208239950:0x0016

0x597208239950:0x0017

0x597208239950:0x0018

0x597208239950:0x0019

0x597208239950:0x001a

0x597208239950:0x001b

0x597208239950:0x001c

0x597208239950:0x001d

cdlvmeng001:/etc/sysconfig/hardware #

 

 

 
 

 


Re: zfcp questions

2010-06-08 Thread Richard Troth
Phil --

I don't immediately see anything wrong with your adapter config file.
I would recommend using the scripts included in the S390 Tools
package.  In particular, ...

/sbin/zfcp_host_configure 0.0.0800 1
/sbin/zfcp_disk_configure 0l0.0800 0x597208239950
0x000e 1

The trailing 1 means online in both cases.  The latter statement,
of course, repeats per disk.  You may need to take everything back
down and then up again.  (Bring down the disks, one at a time, even if
they are not actually up, then bring down the adapter, then again
execute the sequence to get them all online.)

In SLES 9, you had to restamp 'mkinitrd' (and then also run 'zipl').
I have seen it go both ways with SLES 10:  Most often you don't have
to redo 'mkinitrd' and 'zipl', but other times it seems like you have
to do them or the disks are not present after reboot.

-- Rick;   





On Tue, Jun 8, 2010 at 13:29, Philip Tully tull...@optonline.net wrote:
 Hello,



 I am in the beginning to implement FCP disk connections on a series of linux
 machines running SLES 10 sp2+, during startup I receive the following series
 of messages:

 Configuring device 0.0.0800


 scsi0 : zfcp


 09:24:36 zfcp: The adapter 0.0.0800 reported the following characteristics:


 WWNN 0x5005076400caa584, WWPN 0xc05076efed800400, S_ID 0x00ab004f,


 adapter version 0x4, LIC version 0x2b, FC link speed 4 Gb/s


 zfcp: Switched fabric fibrechannel network detected at adapter 0.0.0800.


 Activating zfcp disk 0.0.0800:0x597208239950:0x000e


 No configuration file for adapter 0.0.0800


 Configuring FCP disk 597208239950:000e



 I have 2 questions:

 1 The startup looks good except for the “No configuration file for adapter
 0.0.0800” message since I have the file

  /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 included at the bottom.

 2 When I issue the command hwup 0.0.0800 I receive the following error 
 message:



 cdlvmeng001:/etc/sysconfig/hardware # hwup 0.0.0800

 Cannot handle subsystem ''



 Regards,

 Phil Tully







 cdlvmeng001:/etc/sysconfig/hardware # cat hwcfg-zfcp-bus-ccw-0.0.0800

 !/bin/sh

 #

 # hwcfg-zfcp-bus-ccw-0.0.0800

 #

 # Configuration for the zfcp adapter at CCW ID 0.0.0800

 #



 STARTMODE=auto

 MODULE=zfcp

 MODULE_OPTIONS=

 MODULE_UNLOAD=yes



 # Scripts to be called for the various events.

 # If called manually the event is set to 'up'.

 SCRIPTUP=hwup-ccw

 SCRIPTUP_ccw=hwup-ccw

 SCRIPTUP_scsi_host=hwup-zfcp

 SCRIPTDOWN=hwdown-scsi

 SCRIPTDOWN_scsi=hwdown-zfcp



 # Configured zfcp disks

 ZFCP_LUNS=

 0x597208239950:0x000e

 0x597208239950:0x000f

 0x597208239950:0x0010

 0x597208239950:0x0012

 0x597208239950:0x0014

 0x597208239950:0x0016

 0x597208239950:0x0017

 0x597208239950:0x0018

 0x597208239950:0x0019

 0x597208239950:0x001a

 0x597208239950:0x001b

 0x597208239950:0x001c

 0x597208239950:0x001d

 cdlvmeng001:/etc/sysconfig/hardware #












Re: zfcp questions

2010-06-08 Thread Romanowski, John (OFT)
IIRC, on SLES 10 that message No configuration file for adapter 0.0.0800' is 
from the initrd doing
zfcp_disk_configure 0.0.0800 0x597208239950 0x000e 1
to put the LUN online.

mkinitrd didn't copy the unneeded file 
/etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 into the initrd and 
zfcp_disk_configure issues that message when it doesn't find an existing 
/etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800  in the initrd to update as 
is its wont when it puts the LUN online.

So that message is expected and harmless.

I don't know about message: Cannot handle subsystem ''


 -Original Message-
 From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
 Behalf Of Philip Tully
 Sent: Tuesday, June 08, 2010 1:30 PM
 To: IBMVM@LISTSERV.UARK.EDU
 Subject: zfcp questions

 Hello,



 I am in the beginning to implement FCP disk connections on a series of
 linux
 machines running SLES 10 sp2+, during startup I receive the following
 series
 of messages:

 Configuring device 0.0.0800


 scsi0 : zfcp


 09:24:36 zfcp: The adapter 0.0.0800 reported the following
 characteristics:


 WWNN 0x5005076400caa584, WWPN 0xc05076efed800400, S_ID 0x00ab004f,


 adapter version 0x4, LIC version 0x2b, FC link speed 4 Gb/s


 zfcp: Switched fabric fibrechannel network detected at adapter
 0.0.0800.


 Activating zfcp disk 0.0.0800:0x597208239950:0x000e


 No configuration file for adapter 0.0.0800


 Configuring FCP disk 597208239950:000e



 I have 2 questions:

 1 The startup looks good except for the No configuration file for
 adapter
 0.0.0800 message since I have the file

  /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 included at the
 bottom.

 2 When I issue the command hwup 0.0.0800 I receive the following error
 message:



 cdlvmeng001:/etc/sysconfig/hardware # hwup 0.0.0800

 Cannot handle subsystem ''



 Regards,

 Phil Tully







 cdlvmeng001:/etc/sysconfig/hardware # cat hwcfg-zfcp-bus-ccw-0.0.0800

 !/bin/sh

 #

 # hwcfg-zfcp-bus-ccw-0.0.0800

 #

 # Configuration for the zfcp adapter at CCW ID 0.0.0800

 #



 STARTMODE=auto

 MODULE=zfcp

 MODULE_OPTIONS=

 MODULE_UNLOAD=yes



 # Scripts to be called for the various events.

 # If called manually the event is set to 'up'.

 SCRIPTUP=hwup-ccw

 SCRIPTUP_ccw=hwup-ccw

 SCRIPTUP_scsi_host=hwup-zfcp

 SCRIPTDOWN=hwdown-scsi

 SCRIPTDOWN_scsi=hwdown-zfcp



 # Configured zfcp disks

 ZFCP_LUNS=

 0x597208239950:0x000e

 0x597208239950:0x000f

 0x597208239950:0x0010

 0x597208239950:0x0012

 0x597208239950:0x0014

 0x597208239950:0x0016

 0x597208239950:0x0017

 0x597208239950:0x0018

 0x597208239950:0x0019

 0x597208239950:0x001a

 0x597208239950:0x001b

 0x597208239950:0x001c

 0x597208239950:0x001d

 cdlvmeng001:/etc/sysconfig/hardware #











This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments.  Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.


Re: zfcp questions

2010-06-08 Thread Phil Tully

Thanks for that clarification.

On 6/8/2010 2:40 PM, Romanowski, John (OFT) wrote:

IIRC, on SLES 10 that message No configuration file for adapter 0.0.0800' is 
from the initrd doing
zfcp_disk_configure 0.0.0800 0x597208239950 0x000e 1
to put the LUN online.

mkinitrd didn't copy the unneeded file 
/etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 into the initrd and 
zfcp_disk_configure issues that message when it doesn't find an existing 
/etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800  in the initrd to update as 
is its wont when it puts the LUN online.

So that message is expected and harmless.

I don't know about message: Cannot handle subsystem ''


   

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Philip Tully
Sent: Tuesday, June 08, 2010 1:30 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: zfcp questions

Hello,



I am in the beginning to implement FCP disk connections on a series of
linux
machines running SLES 10 sp2+, during startup I receive the following
series
of messages:

Configuring device 0.0.0800


scsi0 : zfcp


09:24:36 zfcp: The adapter 0.0.0800 reported the following
characteristics:


WWNN 0x5005076400caa584, WWPN 0xc05076efed800400, S_ID 0x00ab004f,


adapter version 0x4, LIC version 0x2b, FC link speed 4 Gb/s


zfcp: Switched fabric fibrechannel network detected at adapter
0.0.0800.


Activating zfcp disk 0.0.0800:0x597208239950:0x000e


No configuration file for adapter 0.0.0800


Configuring FCP disk 597208239950:000e



I have 2 questions:

1 The startup looks good except for the No configuration file for
adapter
0.0.0800 message since I have the file

  /etc/sysconfig/hardware/hwcfg-zfcp-bus-ccw-0.0.0800 included at the
bottom.

2 When I issue the command hwup 0.0.0800 I receive the following error
message:



cdlvmeng001:/etc/sysconfig/hardware # hwup 0.0.0800

Cannot handle subsystem ''



Regards,

Phil Tully







cdlvmeng001:/etc/sysconfig/hardware # cat hwcfg-zfcp-bus-ccw-0.0.0800

!/bin/sh

#

# hwcfg-zfcp-bus-ccw-0.0.0800

#

# Configuration for the zfcp adapter at CCW ID 0.0.0800

#



STARTMODE=auto

MODULE=zfcp

MODULE_OPTIONS=

MODULE_UNLOAD=yes



# Scripts to be called for the various events.

# If called manually the event is set to 'up'.

SCRIPTUP=hwup-ccw

SCRIPTUP_ccw=hwup-ccw

SCRIPTUP_scsi_host=hwup-zfcp

SCRIPTDOWN=hwdown-scsi

SCRIPTDOWN_scsi=hwdown-zfcp



# Configured zfcp disks

ZFCP_LUNS=

0x597208239950:0x000e

0x597208239950:0x000f

0x597208239950:0x0010

0x597208239950:0x0012

0x597208239950:0x0014

0x597208239950:0x0016

0x597208239950:0x0017

0x597208239950:0x0018

0x597208239950:0x0019

0x597208239950:0x001a

0x597208239950:0x001b

0x597208239950:0x001c

0x597208239950:0x001d

cdlvmeng001:/etc/sysconfig/hardware #









 


This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments.  Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

   


--
'in media stat virtus'
Virtue's in the middle