To find WWN/WWPN Number in RHELinux.
Here are the commands to get the wwpn from Qlogic or Emulex.
First check your HBA Card information using my previous blog.
http://shyjug.blogspot.com/2013/11/how-to-find-hba-card-qlogic-emulex-in_17.html
RHEL 3
Emulex card # cat /proc/scsi/lpfc/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
RHEL 4
Emulex card # cat /sys/class/scsi_host/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
RHEL 5
Emulex card # cat /sys/class/fc_host/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
RHEL 6
Emulex card # cat /sys/class/fc_host/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
Here are the commands to get the wwpn from Qlogic or Emulex.
First check your HBA Card information using my previous blog.
http://shyjug.blogspot.com/2013/11/how-to-find-hba-card-qlogic-emulex-in_17.html
RHEL 3
Emulex card # cat /proc/scsi/lpfc/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
RHEL 4
Emulex card # cat /sys/class/scsi_host/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
RHEL 5
Emulex card # cat /sys/class/fc_host/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
RHEL 6
Emulex card # cat /sys/class/fc_host/host*/port_name
Qlogic card # cat /proc/scsi/qla2*/* 2>/dev/null | grep "adapter-port"
No comments:
Post a Comment