cancel
Showing results for 
Search instead for 
Did you mean: 

obtaining wwn on a system

 
SOLVED
Go to solution
NDO
Super Advisor

obtaining wwn on a system

Hi

 

I have a server running hp-ux 11.31, and has got file systems configured using vxvm with the following notation:

/dev/vx/dsk/dgarc/vol2
                   408576000 389887649 17585390   96% /backup01

to get the wwn, I would use the following command:

fcmsutil /dev/....

But in this  case if I do this:

/usr/sbin/ioscan -fun |grep -i fibre
fc          0  0/0/12/1/0     fcd            CLAIMED     INTERFACE    HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
fc          1  0/0/12/1/1     fcd            CLAIMED     INTERFACE    HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
fc          2  1/0/12/1/0     fcd            CLAIMED     INTERFACE    HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1)
fc          3  1/0/12/1/1     fcd            CLAIMED     INTERFACE    HP AB379-60101 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2)
dbnode0[398]/ #

I am not able to see the device name in the notation "/dev/td#" or "/dev/fcd#"

In this case how do I go about finding the wwn

3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: obtaining wwn on a system

When using the grep statement you are only seeing the first line of the output for the fibre cards.  The device files will be on the 2nd line.

 

Try this instead:

# ioscan -fnC fc

 

 

NDO
Super Advisor

Re: obtaining wwn on a system

thank you ! I got it now

Dennis Handly
Acclaimed Contributor

Re: obtaining WWN on a system

> The device files will be on the 2nd line.

FYI: If you had gnu grep, you could use -A1 to print the next line.