Linux on 390 Port <LINUX-390@VM.MARIST.EDU> wrote on 02/01/2008 04:24:05
PM:

> We are using point to point cabling, so I can't use the discovery tools,
> no switch.
> I have connectivity after working out the LUN names.  I'm struggling
> with LVM2 over multipaths.
> Thanks,
> Betsie
>

Some of san_disc's commands will work with point to point.  I.e. report
luns:

        [EMAIL PROTECTED]:modprobe zfcp_hbaapi
        [EMAIL PROTECTED]:cd /sys/bus/ccw/drivers/zfcp/0.0.3000
        [EMAIL PROTECTED]:echo 1 > online
        [EMAIL PROTECTED]:cat peer_wwpn
        0x5005076401408f54
        [EMAIL PROTECTED]:echo 0x5005076401408f54 > port_add
        [EMAIL PROTECTED]:san_disc -c HBA_LIST | grep -v unav
         Number of Adapters: 748
         No.   Port WWN           Node WWN           SerialNumber Busid
           3 0x5005076401008f54 0x5005076400cc441e IBM020000000C441E
0.0.3000
        [EMAIL PROTECTED]:san_disc -c REPORT_LUNS -a 3 -p 0x5005076401408f54
         Number of LUNs: 16
            No.  LUN
              1 000000000000000000
              2 0x0001000000000000
              3 0x0002000000000000
              4 0x0003000000000000
              5 0x0004000000000000
              6 0x0005000000000000
              7 0x0006000000000000
              8 0x0007000000000000
              9 0x0008000000000000
             10 0x0009000000000000
             11 0x000a000000000000
             12 0x000b000000000000
             13 0x000c000000000000
             14 0x000d000000000000
             15 0x000e000000000000
             16 0x000f000000000000

In this case, I had to cat the right file to get the WWPN of the storage
device instead of doing a "san_disc -c PORT_LIST".

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

Reply via email to