CentOS
7 community provides
a utility systool to work with hardware adapters. The utility comes with
sysfsutils package and this package by default not installed on CentOS 7 systems.
Step 1. Systool Installation: Follow the article How
to resolve “-bash: systool: command not found” on CentOS 7.
Step 2. Systool command:
Run the following command to get WWN name:
[root@linuxcnf ~]# systool -c
fc_host -v
……………………..
……………………..
[root@linuxcnf ~]#
|
If systool command is not installed,
the WWN name can look at the information directly within the sysfs tree:
[root@linuxcnf ~]# grep -v “ZzZz”
/sys/class/scsi_host/host*/device/fc_host/*/*_name
……………………..
……………………..
[root@linuxcnf ~]#
|
No comments:
Post a Comment