SMB Direct
Cheat sheet · https://pcornel.dk/topic.php?topic=4158
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 enabledGet-SmbServerNetworkInterface | ft RdmaCapable— SMB sees RDMAGet-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 boundary | What to verify | Proof limit |
|---|---|---|
| Endpoint / namespace | Correct client, server, export/share, path and negotiated protocol version | Reachability or namespace visibility does not prove authorization or backend health |
| Identity / security | Effective identity, protocol security state and export/share/filesystem authorization | Authentication or one permission layer does not prove complete file access |
| Failure boundary | RDMA-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 |
| Acceptance | Healthy 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