NVMeoF adapters combine the advantages of NVMe storage technology and the high-performance Fiber Channel protocol. It leverages the low-latency and high-bandwidth characteristics of Fiber Channel to deliver exceptional storage performance. This synergy enables low-latency and high-bandwidth communication between AIX systems and NVMe storage devices, revolutionizing storage solutions in terms of speed and scalability.
- To list active FC adapters.
$ lsnports
name physloc fabric tports aports swwpns awwpns
fcs0 U78D8.ND1.FGD007L-P0-C2-C0-T0 1 255 255 2048 2044
fcs1 U78D8.ND1.FGD007L-P0-C2-C0-T1 1 255 254 2048 2042
fcs2 U78D8.ND1.FGD007L-P0-C2-C0-T2 1 255 255 2048 2044
fcs3 U78D8.ND1.FGD007L-P0-C2-C0-T3 1 255 255 2048 2044
- To list about FC-NVMe support protocol device.
$ lsdev -dev fcs0 -child
name status description
fcnvme0 Available FC-NVMe Protocol Device
fscsi0 Available FC SCSI I/O Controller Protocol Device
- To list about the auto-config state, host_nqn.
# lsattr -El fcnvme0
attach switch How this adapter is connected False
autoconfig available Configuration State True
host_nqn nqn.2014-08.org.nvmexpress:uuid:339fb730-d6ee-4709-8a0a-12efdbcd1711 Host NQN (NVMe Qualified Name) True
- To list SCSI/NVME ports, status, Queues, and flags.
$ lsmap -all -npiv -proto
Name Physloc ClntID ClntName ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0 U9080.HEX.1358D28-V18-C3 190
Status:NOT_CONNECTED
FC name: FC loc code:
Flags:0x281<NOT_MAPPED,NOT_CONNECTED>
VFC client name: VFC client DRC:
SCSI Ports:0 SCSI Queues:0 SCSI Status:NOT_LOGGED_IN
SCSI Flags:0x0<>
NVME Ports:0 NVME Queues:0 NVME Status:NOT_LOGGED_IN
NVME Flags:0x0<>
- To know about the states of FC-NVMe and fscsi protocol devices.
# lsdev -p fcs*
fcnvme0 Available 00-00-02 FC-NVMe Protocol Device
fcnvme1 Available 00-01-02 FC-NVMe Protocol Device
fcnvme2 Available 00-02-02 FC-NVMe Protocol Device
fcnvme3 Available 00-03-02 FC-NVMe Protocol Device
fscsi0 Available 00-00-01 FC SCSI I/O Controller Protocol Device
fscsi1 Available 00-01-01 FC SCSI I/O Controller Protocol Device
fscsi2 Available 00-02-01 FC SCSI I/O Controller Protocol Device
- To know about NVMe Discovery/Dynamic Controller.
# lsdev -p fcnvme*
nvme0 Available 00-00-02 NVMe Discovery Controller
nvme1 Available 00-01-02 NVMe Discovery Controller
nvme2 Available 00-02-02 NVMe Discovery Controller
nvme3 Available 00-03-02 NVMe Discovery Controller
nvme4 Available 00-00-02 NVMe Dynamic Controller
nvme5 Available 00-01-02 NVMe Dynamic Controller
nvme6 Available 00-02-02 NVMe Dynamic Controller
nvme7 Available 00-03-02 NVMe Dynamic Controller
- To know about Available NVMe Disk.
# lsdev -p nvme*
hdisk45 Available 00-00-02 EMC PowerMax NVMe Disk
hdisk46 Available 00-00-02 EMC PowerMax NVMe Disk
- To list the NVMe Disk to Lpar.
$ vfcctrl -list -protocol
Adapter disabled_by_lpm disabled_by_user ClntId ClntName
--------------- ---------------- ---------------- -------- ----------------
vfchost0 none NVMe 190 --
vfchost1 none NVMe 189 --
vfchost2 none NVMe 5 densnpiv03
vfchost3 none NVMe 187 densnpiv19
vfchost4 none NVMe 164 densnpiv23
- To enable the NVMe Disk for NPIV client/LPAR.
$ ioscli vfcctrl -enable -protocol nvme -cpid 164
The "nvme" protocol for "vfchost4" is enabled.
$ ioscli vfcctrl -enable -protocol nvme -cpid 187
The "nvme" protocol for "vfchost3" is enabled.
$ ioscli vfcctrl -enable -protocol nvme -cpid 5
The "nvme" protocol for "vfchost2" is enabled.
- To validate NVMe enabled on the client, [the disabled_by_user column should display none; if NVMe means – Protocol is disabled and need to enable]
$ vfcctrl -list -protocol
Adapter disabled_by_lpm disabled_by_user ClntId ClntName
--------------- ---------------- ---------------- -------- ----------------
vfchost0 none NVMe 190 --
vfchost1 none NVMe 189 --
vfchost2 none none 5 densnpiv03
vfchost3 none none 187 densnpiv19
vfchost4 none none 164 densnpiv23