10–FCoE Configuration
Verifying FCoE Devices in Linux
168
AH0054601-00 B
Verifying FCoE Devices in Linux
Follow these steps to verify that the FCoE devices were detected correctly after
installing and loading the qedf kernel module.
To verify FCoE devices in Linux:
1.
Check lsmod to verify that the qedf and associated kernel modules were
loaded:
#
lsmod | grep qedf libfcoe
69632 1 qedf libfc
143360 2 qedf,libfcoe scsi_transport_fc
65536 2 qedf,libfc qed
806912 1 qedf scsi_mod
262144 14
sg,hpsa,qedf,scsi_dh_alua,scsi_dh_rdac,dm_multipath,scsi_transport_fc,
scsi_transport_sas,libfc,scsi_transport_iscsi,scsi_dh_emc,libata,sd_mod,sr_mod
2.
Check dmesg to verify that the FCoE devices were detected properly. In this
example, the two detected FCoE CNA devices are SCSI host numbers 4
and 5.
#
dmesg | grep qedf
[ 235.321185] [0000:00:00.0]: [qedf_init:3728]: QLogic FCoE Offload Driver
v8.18.8.0.
....
[ 235.322253] [0000:21:00.2]: [__qedf_probe:3142]:4: QLogic FastLinQ FCoE
Module qedf 8.18.8.0, FW 8.18.10.0
[ 235.606443] scsi host4: qedf
....
[ 235.624337] [0000:21:00.3]: [__qedf_probe:3142]:5: QLogic FastLinQ FCoE
Module qedf 8.18.8.0, FW 8.18.10.0
[ 235.886681] scsi host5: qedf
....
[ 243.991851] [0000:21:00.3]: [qedf_link_update:489]:5: LINK UP (40 GB/s).
3.
Check for discovered FCoE devices using
lsblk -S
:
#
lsblk -S
NAME HCTL
TYPE
VENDOR
MODEL
REV TRAN
sdb 5:0:0:0 disk SANBlaze VLUN P2T1L0 V7.3 fc
sdc 5:0:0:1 disk SANBlaze VLUN P2T1L1 V7.3 fc
sdd 5:0:0:2 disk SANBlaze VLUN P2T1L2 V7.3 fc
sde 5:0:0:3 disk SANBlaze VLUN P2T1L3 V7.3 fc
sdf 5:0:0:4 disk SANBlaze VLUN P2T1L4 V7.3 fc