In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to view the server wwn number under Linux, the article is very detailed, has a certain reference value, interested friends must read it!
When a PC server host connects with FC storage, it is generally necessary to install a HBA card, and an important parameter of the connection between the two is the wwn number. The method to check the wwn number under redhat or suse is as follows.
I. SuSE Linux 9
View / proc/scsi/qla2xxx/* and filter with the keyword adapter-port to view the WWN information of the FC HBA card:
# cat / proc/scsi/qla2xxx/* | grep adapter-portscsi-qla0-adapter-port=21000018822c8a2c;scsi-qla1-adapter-port=21000018822c8a2d; II, SuSE Linux 10
Look at the contents of the / sys/class/fc_host/host*/port_name file to see the WWN information of the corresponding FC HBA card:
# cat / sys/class/fc_host/host*/port_ name0x210000e08b9079550x210000e08b902856 3, RedHat Linux AS4# grep scsi/ proc/scsi/qla2xxx/3Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0scsiMaiqla0adapter Qla0adapters 20000018822d7834There are adapters QLA0Transports21000018822d7834scsiripqla0index02900a0b8423858SLSIQLA0PROTEN 200800a0b8423858; IV, suse11, redhat5, redhat6
All of the above are the viewing methods under the old version of the system. On suse11, redhat5 and redhat6, you can generally access the view / sys/class/fc_host/host*/port_name files (host4 and host5 may be found in host*). The execution results are as follows:
# cat / sys/class/fc_host/host*/port_name0x10000090fa2a6b980x10000090fa2a6b99
Due to the connection to storage, in order to avoid single-path failure, it is generally necessary to configure multi-path, and HBA cards also appear in pairs. Here we can see that the wwwn number also appears in pairs.
The above is all the contents of the article "how to check the server wwn number under Linux". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.