HAB卡port口id的对应关系查找



1、Redhat:

cat /sys/class/scsi_host/hostX/unique_id

cat /sys/class/fc_host/host5/device/scsi_host:hostX/unique_id

输出的id对应HBA卡上的port ID


san switch nsshow Pid:

cat /sys/class/fc_host/hostX/port_id


port_name:

cat /sys/class/fc_host/hostX/port_name


port_state:

cat /sys/class/fc_host/host5/port_state


2、ESXi:

~ # cat /proc/scsi/lpfc820/12
Emulex LightPulse FC SCSI 8.2.2.1-18vmw
IBM 42D0494 8Gb 2-Port PCIe FC HBA for System x on PCI bus 0000:04 device 00 irq 208 port 0
BoardNum: 0
ESX Adapter: vmhba2



你可能感兴趣的:(id,port,HAB,vmhba,hostX)