11–FCoE Configuration
Configuring Linux FCoE Offload
212
BC0154501-00 P
3.
Check for discovered FCoE devices using the
lsscsi
or
lsblk -S
commands. An example of each command follows.
#
lsscsi
[0:2:0:0] disk DELL PERC H700 2.10 /dev/sda
[2:0:0:0] cd/dvd TEAC DVD-ROM DV-28SW R.2A /dev/sr0
[151:0:0:0] disk HP P2000G3 FC/iSCSI T252 /dev/sdb
[151:0:0:1] disk HP P2000G3 FC/iSCSI T252 /dev/sdc
[151:0:0:2] disk HP P2000G3 FC/iSCSI T252 /dev/sdd
[151:0:0:3] disk HP P2000G3 FC/iSCSI T252 /dev/sde
[151:0:0:4] disk HP P2000G3 FC/iSCSI T252 /dev/sdf
#
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
sdg 5:0:0:5 disk SANBlaze VLUN P2T1L5 V7.3 fc
sdh 5:0:0:6 disk SANBlaze VLUN P2T1L6 V7.3 fc
sdi 5:0:0:7 disk SANBlaze VLUN P2T1L7 V7.3 fc
sdj 5:0:0:8 disk SANBlaze VLUN P2T1L8 V7.3 fc
sdk 5:0:0:9 disk SANBlaze VLUN P2T1L9 V7.3 fc
Configuration information for the host is located in
/sys/class/fc_host/hostX,
where
X
is the number of the SCSI host. In the preceding example,
X
is 4. The
hostX
file contains attributes for the FCoE function, such as worldwide port name
and fabric ID.