![H3C NIC-FC730i-Mb-2-32G Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/h3c/nic-fc730i-mb-2-32g/nic-fc730i-mb-2-32g_manual_3118277021.webp)
5-7
5.4 Configuring FC SAN
5.4.1 Linux Operating Systems
(1) Configure the FC function on the FC storage device and ICM to ensure that the FC links are
available and that the relevant port WWPN can be registered correctly. For the method of
configuring FC on the ICM, see the related configuration command manual.
(2) Run the
lsmod|grep lpfc
command to confirm whether the NIC driver has been loaded. If
lpfc is available, it indicates that the NIC driver has been loaded, as shown in
Figure 5-12 Confirming the NIC driver
(3) Run the
ls /sys/class/fc_host
command to check if the port of FC730i NIC has been
initialized correctly. Run the
cat /sys/class/fc_host/host*/port_state
command to check if
the port status is "Link Up", as shown in
Figure 5-13 Checking the port status
(4)
After linking the storage host and the FC port of FC730i on the storage server, you can run the
lsblk
command under the system to check if there is a new disk. If there is a new disk, it means
FC SAN has been identified and can be used normally. If not, run the
echo 1 >
/sys/class/fc_host/hostnum/issue_lip
command to refresh
fc_host
manually (where
hostnum
means FC port number), and then run the
lsblk
Figure 5-14 Identifying a new disk