Pcornel
Storage · SMB

SMB Direct

Cheat sheet · https://pcornel.dk/topic.php?topic=4158

Back to the Topic

Answer

SMB first establishes and negotiates the session, then Multichannel can identify RDMA-capable interfaces and create RDMA paths for SMB Direct. The underlying lossless/converged-network requirements depend on the RDMA technology and deployment.

Remember

  • SMB Direct requires RDMA-capable endpoints and support.
  • SMB Direct ≠ ordinary TCP SMB.
  • SMB Direct ≠ SMB Multichannel, though Windows uses Multichannel to enable/manage Direct paths.
  • RDMA link up ≠ SMB Direct data path proven.

First checks

  • Get-NetAdapterRdma — RDMA enabled
  • Get-SmbServerNetworkInterface | ft RdmaCapable — SMB sees RDMA
  • Get-Counter '\SMB Direct Connection(*)\*' — SMB Direct counters

Verify in this order

SMB3 → RDMA NIC → network → RDMA NIC → server

Where it usually breaks

First mismatch in client identity/DNS → network transport → protocol session → authentication/authorization → export/share → backend filesystem → file operation; preserve identity/pre-state before mutation.

SMB → SMB Direct file-service map

File-service boundaryWhat to verifyProof limit
Endpoint / namespaceCorrect client, server, export/share, path and negotiated protocol versionReachability or namespace visibility does not prove authorization or backend health
Identity / securityEffective identity, protocol security state and export/share/filesystem authorizationAuthentication or one permission layer does not prove complete file access
Failure boundaryRDMA-capable hardware or a healthy RDMA link does not prove SMB Direct is active for the workload, and SMB Direct does not guarantee backend storage performance.Correlate client, network, server and filesystem evidence for the same operation/time window
AcceptanceHealthy evidence: actual SMB session uses expected RDMA connection(s), RDMA counters are clean and workload shows expected latency/CPU/throughput characteristics.Close only after the original operation and server-side/read-back verification succeeds

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4158

Confirmation

Confirm action

Continue?