This post shows the best way to find out the devices connected to the FC - HBA.
AIX:
# lsdev -Cc adapter | grep -i fcs* : Command to get the FC adapters connected to the machine.
The output of the command will show the loction code of the FC "port_number-slot_number". Make a note of the numbers.
# lsdev -Cc disk | grep "##-##" : Command to fetch the device connected to the "port_number-slot_number"
HP-Unix:
# ioscan -funC fc : Command to get the FC adapters connected to the machine.
Make a note of the device file name for the FC adapter "/dev/fcd or /dev/td" depends on manufacturer.
# /opt/fcms/bin/fcmsutil /dev/fcd# get remote all : Command that returns the devices connected to it.
AIX:
# lsdev -Cc adapter | grep -i fcs* : Command to get the FC adapters connected to the machine.
The output of the command will show the loction code of the FC "port_number-slot_number". Make a note of the numbers.
# lsdev -Cc disk | grep "##-##" : Command to fetch the device connected to the "port_number-slot_number"
HP-Unix:
# ioscan -funC fc : Command to get the FC adapters connected to the machine.
Make a note of the device file name for the FC adapter "/dev/fcd or /dev/td" depends on manufacturer.
# /opt/fcms/bin/fcmsutil /dev/fcd# get remote all : Command that returns the devices connected to it.