Basic intel® ethernet fcoe commands – Dell Intel PRO Family of Adapters User Manual

Page 32

Advertising
background image

5. Verify that you have been assigned on a storage target.

root# fcoeadm -t
Interface: eth3.100-fcoe
...
FC-ID (Port ID): 0x4A06EF
State: Online

LUN ID Device Name Capacity Block Size Description
------ ----------- -------- ---------- -----------
0 /dev/sdb 25.00 GB 512 DGC RAID 10 (rev 0429)

NOTE: This example shows that a LUN has been provisioned and assigned to /dev/sdb. This may happen

automatically but usually you must request a LUN from your storage administrator.

6. Verify that the file system has identified the SAN storage.

root# lsscsi
[0:0:0:0] cd/dvd TSSTcorp CDDVDW SH-S223L SB02 /dev/sr1
[1:0:0:0] disk ATA ST3160811AS 3.AA /dev/sda
[2:0:1:0] cd/dvd MATSHITA DVD-ROM SR-8178 PZ16 /dev/sr0
[3:0:0:0] disk DGC RAID 10 0429 /dev/sdb

Basic Intel® Ethernet FCoE Commands

show interface info: fcoeadm -i

root# fcoeadm -i
Description: 82599EB 10-Gigabit Network Connection
Revision: 01
Manufacturer: Intel Corporation
Serial Number: 001B21606274
Driver: ixgbe 2.0.62-k2
Number of Ports: 2

Symbolic Name: fcoe v0.1 over eth3.100-fcoe
OS Device Name: host3
Node Name: 0x1000001B21606277
Port Name: 0x2000001B21606277
FabricName: 0x2064000DECA33A01
Speed: 10 Gbit
Supported Speed: 10 Gbit
MaxFrameSize: 2112
FC-ID (Port ID): 0x4A0064
State: Online

show LUNs: fcoeadm -l

root# fcoeadm -l
Interface: eth3.100-fcoe
Roles: FCP Target
Node Name: 0x50060160C46029CC
Port Name: 0x50060160446029CC
Target ID: 0
MaxFrameSize: 2048
OS Device Name: rport-3:0-1
FC-ID (Port ID): 0x4A06EF
State: Online

LUN #0 Information:
OS Device Name: /dev/sdb
Description: DGC RAID 10 (rev 0429)
Ethernet Port FCID: 0x4A0064
Target FCID: 0x4A06EF
Target ID: 0
LUN ID: 0
Capacity: 25.00 GB
Capacity in Blocks: 52428799
Block Size: 512 bytes
Status: Attached

show targets: fcoeadm -t

root# fcoeadm -t
Interface: eth3.100-fcoe
Roles: FCP Target
Node Name: 0x50060160C46029CC
Port Name: 0x50060160446029CC
Target ID: 0
MaxFrameSize: 2048
OS Device Name: rport-3:0-1
FC-ID (Port ID): 0x4A06EF
State: Online

LUN ID Device Name Capacity Block Size Description
------ ----------- -------- ---------- -----------
0 /dev/sdb 25.00 GB 512 DGC RAID 10 (rev 0429)

Advertising