Thanks Mike and Mark...
We'll modify the script...
Lee

Michael O'Reilly wrote:
Lee,

 We have a lab machine using Linux on Z accessing an FCP via an SVC (SAN
Volume Controller). We can confirm your observation that we don't see the
WWPNs and LUNs displayed in the Yast Zfcp panel after a GET_WWPNs or
GET_LUNs. As you mention, the zfcp_san_disc script runs san_disc and is
looking for "Storage":

PORT_LIST=`san_disc -a "$ADAPTER" -V -c PORT_LIST`:
WWPN_LIST=`echo "$PORT_LIST" | awk '$6 ~ /Storage/ {print $2}' | sort -u`

While san_disc returns :

# san_disc -a 1 -V -c PORT_LIST
 No.  Port WWN           Node WWN           DID      Type   AssociatedType
    1 0x5005076401003a0f 0x5005076400c49200 0x630000 N_Port (not specified)
    2 0x5005076801200f82 0x5005076801000f82 0x630100 N_Port Multi-function
device
    3 0x50050768012006ce 0x50050768010006ce 0x630200 N_Port Multi-function
device
    4 0x5005076801400f82 0x5005076801000f82 0x630300 N_Port Multi-function
device
    5 0x50050768014006ce 0x50050768010006ce 0x630400 N_Port Multi-function
device


 ________________________

 Mike O'Reilly
 IBM Linux Change Team


















             Lee Stewart
             <lstewart.dsgroup
             @attglobal.net>                                            To
             Sent by: Linux on         LINUX-390@VM.MARIST.EDU
             390 Port                                                   cc
             <linux-...@vm.mar
             IST.EDU>                                              Subject
                                       Linux FCP via an SVC...

             02/23/2009 09:58
             AM


             Please respond to
             Linux on 390 Port
             <linux-...@vm.mar
                 IST.EDU>






Is anyone using Linux on Z accessing an FCP via an SVC (SAN Volume
Controller)?   If so, do you see the WWPNs and LUNs displayed in the
Yast Zfcp panel after a GET_WWPNs or GET_LUNs?

As it trickles down it ends up in zfcp_san_disc.   It skips any WWPN
that reports any type but "Storage".  Our SVC is returning a type of
"Multi-function device", therefore the WWPNs aren't showing up in the
list and have to be entered manually..

Is it the SVC that should be saying "Storage"?  Or is it zfcp_san_disc
that should also be accepting "Multi-function device"??

Thoughts?
Lee
--

Lee Stewart, Senior SE
Sirius Computer Solutions
Phone: (303) 798-2954
Fax:   (720) 228-2321
Email: lee.stew...@siriuscom.com
Web:   www.siriuscom.com

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu 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 lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390



--

Lee Stewart, Senior SE
Sirius Computer Solutions
Phone: (303) 798-2954
Fax:   (720) 228-2321
Email: lee.stew...@siriuscom.com
Web:   www.siriuscom.com

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to