Use this when extending NVMe across a network to remote storage.
NVMe over Fabrics
NVMe over Fabrics as an interface carries NVMe commands across RDMA (RoCE, iWARP, InfiniBand), Fibre Channel or TCP, so hosts reach remote NVMe namespaces with near-local latency.
1. NVMe-oF transports: RDMA (RoCE/iWARP), FC, TCP.
2. NVMe/TCP is easiest — no special NICs.
3. RoCE needs lossless Ethernet (PFC/ECN).
4. Native multipath with ANA.
5. Low latency close to local NVMe.
host → NVMe-oF transport → subsystem → namespace
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Checks Verify boundary
nvme list-subsys
nvme discover -t tcp -a 10.20.0.10 -s 4420
cat /sys/module/nvme_core/parameters/multipath
Step 2 Common mistakes Narrow the fault
- No multipath.
- Lossy Ethernet for RoCE.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Transports are RDMA, FC or TCP.
- NVMe/TCP works on normal Ethernet.
- RDMA needs lossless or well-tuned networks.
nvme discover -t tcp -a <ip> -s 8009— discoverynvme list-subsys— connected subsystems/pathscat /sys/module/nvme_core/parameters/multipath— native multipath
ReferenceHow it works1 section · depth on demand
How it works
NVMe over Fabrics (NVMe-oF) extends the NVMe command set across a network instead of local PCIe. The host discovers subsystems (identified by NQN) through a discovery controller, connects to them, and sees remote namespaces as local /dev/nvmeXnY devices. Native NVMe multipath (or ANA on arrays) handles several paths. It keeps NVMe's queue model, so latency is close to local flash on a good network.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
NVMe over Fabrics: the NVMe command set carried over a network
NVMe-oF extends NVMe from PCIe to a fabric: TCP, RDMA (RoCE, InfiniBand) or Fibre Channel. Hosts identify themselves with a host NQN, and storage is presented as NVMe subsystems, identified by subsystem NQNs, with namespaces.
Connecting with nvme-cli
nvme-connect(1) documents the main options: --transport (rdma, tcp, fc, loop), --nqn (subsystem name), --traddr (controller address), --trsvcid (port; 4420 is documented as the default for RDMA), --hostnqn (read from /etc/nvme/hostnqn if not given), --nr-io-queues, --ctrl-loss-tmo and --reconnect-delay.
# cat /etc/nvme/hostnqn
nqn.2014-08.org.nvmexpress:uuid:3f1e8a2c-...
# nvme discover -t tcp -a 10.0.60.50 -s 8009
# nvme connect -t tcp -a 10.0.60.50 -s 4420 -n nqn.2026-11.com.example:array01:vol1 --ctrl-loss-tmo=600
# nvme list-subsys
nvme-subsys0 - NQN=nqn.2026-11.com.example:array01:vol1
+- nvme0 tcp traddr=10.0.60.50,trsvcid=4420 live optimized
+- nvme1 tcp traddr=10.0.61.50,trsvcid=4420 live non-optimized
# nvme list
Compared with iSCSI
| Aspect | iSCSI | NVMe/TCP |
|---|---|---|
| Command set | SCSI | NVMe (multiple deep queues) |
| Multipathing on Linux | dm-multipath | Native NVMe multipath (ANA) in the kernel |
| Host identity | Initiator IQN | Host NQN |
| Typical ports | 3260 | 4420 (I/O), 8009 (discovery) |
Operational notes
- Make connections persistent with the distribution's mechanism (for example
/etc/nvme/discovery.confwithnvme connect-allat boot, or nvme-stas). - With native multipath, check paths with
nvme list-subsys, notmultipath -ll. - The array grants access per host NQN, just as iSCSI grants it per IQN. Reinstalls and clones can change the host NQN.
Documented example, not captured output.
Transports
| Transport | Network |
|---|---|
| NVMe/TCP | Standard Ethernet |
| NVMe/RoCEv2 | Lossless Ethernet with RDMA NICs |
| NVMe/FC | Fibre Channel fabric |
Linux: nvme discover -t tcp -a <ip> -s 4420, nvme connect-all.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Storage Interfaces → NVMe over Fabrics. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.t10.org/ · confidence 94%