For know, port WWN and node WWN in solaris :

# luxadm -e port

/devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl CONNECTED
/devices/ssm@0,0/pci@18,700000/SUNW,qlc@1/fp@0,0:devctl CONNECTED
/devices/ssm@0,0/pci@18,600000/fibre-channel@1/fp@0,0:devctl CONNECTED
/devices/ssm@0,0/pci@18,700000/SUNW,qlc@2,1/fp@0,0:devctl NOT CONNECTED
/devices/ssm@0,0/pci@18,700000/SUNW,qlc@1,1/fp@0,0:devctl NOT CONNECTED

now for know port WWN use command :

# luxadm -e dump_map /devices/ssm@0,0/pci@18,700000/SUNW,qlc@2/fp@0,0:devctl

Pos Port_ID Hard_Addr Port WWN Node WWN Type
0 10000 0 200400a0b818aad4 200400a0b818aad3 0×0 (Disk device)
1 10300 0 200500a0b818aad4 200400a0b818aad3 0×0 (Disk device)
2 20000 0 200400a0b818aad5 200400a0b818aad3 0×0 (Disk device)
3 20300 0 200500a0b818aad5 200400a0b818aad3 0×0 (Disk device)
4 20900 0 210000e08b829a76 200000e08b829a76 0×1f (Unknown Type,Host Bus Adapter)

If you wan’t use script, in internal sun microsystem, engineer have eiscd.
Eiscd contains patches newest, tools, progs and others.
The Eiscd Installation was generated scripts for known a lunmap, hbamap, dump_map.

Popularity: 46% [?]

You Should Also Check Out This Post:

More Active Posts: