In the Linux system, when the PC server host and FC storage connection, need to involve the wwn number, then how to view the wwn number? The following small series introduces you to the method of viewing the wwn number under Linux systems.
When the PC server to connect hosts and FC storage, generally require the installation of HBA card, the interface between the two is an important parameter is the number wwn.
View Method:
1. SuSE Linux 9
View /proc/scsi/qla2xxx/* and filter with the adapter-port keyword to view the FC HBA Card WWN information:
# cat /proc/scsi/qla2xxx/* |
Grep adapter-port
scsi-qla0-adapter-port=21000018822c8a2c;
scsi-qla1-adapter-port=21000018822c8a2d;
Second, SuSE Linux 10
View the contents of the /sys/class/fc_host/host*/port_name file to see the WWN information for the corresponding FC HBA card:
# cat /sys/class/fc_host/host*/port_name< Br>
0x210000e08b907955
0x210000e08b902856
Third, RedHat Linux AS4
# grep scsi /proc/scsi/qla2xxx/3
Number of reqs In pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
scsi-qla0-adapter-node=20000018822d7834;
scsi-qla0-adapter-port=21000018822d7834;
scsi-qla0-target-0=202900a0b8423858;
scsi-qla0-port-0=200800a0b8423858:202900a0b8423858:0000e8:1;
IV, suse11, redhat5, redhat6< Br>
The above are some of the old version of the system under the viewing method, in suse11, redhat5, redhat6, generally can be accessed to view /sys/class/fc_host/host*/port_n The ame file is obtained (host* is generally viewed as host4 and host5), and the execution result is as follows:
# cat /sys/class/fc_host/host*/port_name
0x10000090fa2a6b98
0x10000090fa2a6b99
Due to the connection storage, in order to avoid the fault condition under single path, it is generally necessary to configure multipath, and the HBA cards are also paired in pairs. Here, the wwwn number is also in pairs. of.
The above is a description of the methods for viewing the wwn number in Linux systems. This article only introduces the SuSE and RedHat systems. Other systems can be used as a reference.
In Linux systems, VLANs, Layer 3 switching, and trunks are three confusing concepts
Linux system operation, yum source installation prompt ERROR: dbus error, many peop
The iotop command in Linux is mainly used to display the hard disk IO, but the comm
Linux system operation, Logrotate is a log management tool, can handle Linux logs, you need to confi
How to use the du and df commands to clear large files under Linux?
Linux command line daily use technology
Two classifications of Linux system commands
What should I do if Xmanager fails to connect after the Solaris system is installed?
How to sort the connector ld link under Linux
How does CentOS set the DVD as the default yum source
Conceptual Analysis of Linux Disk Partitions and File Systems
Linux can not log in mysql how to do?
How to use the CRT command tool to view Linux system resource information
Linux/Unix uses the md5sum command to compare file md5 values
Linux off screen splash screen method
What should I do if Linux cannot be full screen under VMWare VM?
Alipay latest version: support some city bus card online recharge
How to make your own Windows7 computer as a wireless transmitter
Windows can't log out of the solution
Win8 SMS support, geolocation and other new features exposure
Do you really use search engines? 7 strokes make you become a search expert
Avoid win7 network settings error, delete Bonjour
Fix open mode and file association in RC version of Win 7
Resource Sharing between Windows and Linux
Win8 mouse points to the folder or desktop item to display the prompt information.