WWN number for FC card in HP UX ?

  
Issue the command # ioscan -fnC FC

Get the device path for the desire FC.

e.g. /dev/fcd0

Issue the command

# fcmsutil /dev/fcd0

Look for the line below.

N_Port Port WWN:

That will be your WWN for that FC card



     





Post a Comment

1 Comments

  1. Hi,
    Great and to the point

    ioscan command is case-sensitive though at least on the HP-UX I've tried it on (11.1, 11.2, 11.3) and you won't be able to pull up your devices with "FC". Need to use "fc"


    # ioscan -fnC FC (comes up blank)
    # ioscan -fnC fc (much better!)
    Class I H/W Path Driver S/W State H/W Type Description
    ================================================================
    fc 2 0/3/1/0 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
    /dev/fcd2
    fc 3 0/3/1/1 fcd CLAIMED INTERFACE HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
    /dev/fcd3
    #

    ReplyDelete