wfkjxy 发表于 2018-5-10 12:36:40

怎样查看Redhat Linux的光纤卡WWN

  怎样查看Redhat Linux的光纤卡WWN

  How to>
  First>  # lspci | grep -ifibre
  04:00.0 FibreChannel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev03)
  04:00.1 FibreChannel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev03)
  05:00.0 FibreChannel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev03)
  05:00.1 FibreChannel: QLogic Corp. ISP2432-based 4Gb Fibre Channel to PCI Express HBA (rev03)
  On Red HatEnterprise Linux 5 (5.x) is on /sys/class/fc_host/hostX/port_name
  (X is your device1,2,3,…N)
  For get use:
  cat/sys/class/fc_host/hostX/port_name
  Sample with multipleHBA (Fibre) QLogic
  # ls/sys/class/fc_host/
  host3 host4 host5host6
  # cat/sys/class/fc_host/host/port_name
  0x2100001b32936e24
  0x2101001b32b36e24
  0x2100001b32932821
  0x2101001b32b32821
  On Red HatEnterprise Linux 4 (AS/ES) is on /proc/scsi/qla2xxx/1 (1,2,3,..N)
  Sample:
  # egrep /proc/scsi/qlx2xxx/0
  scsi-qla0-adapter-node=200000e08b1c19f2;
页: [1]
查看完整版本: 怎样查看Redhat Linux的光纤卡WWN