Summary

  • RFC 9561 hands the pNFS SCSI layout an NVMe vocabulary: namespace identity, reservation keys, client fencing, cache flushing.
  • A namespace identifier names a target. A preempt command requests a state change. A completed flush backs a bounded stable-storage claim. None of them is the application's result.
  • What operators actually need is a joined receipt chain — host identity, every controller path, reservation state, post-fence I/O, volatile-cache state, LAYOUTCOMMIT, and a later readback.

The metadata server returns from LAYOUTCOMMIT. The dashboard goes green. And somewhere on a controller path nobody bothered to inventory, the fenced host is still writing. Three questions are still open: did the old client lose access on every path, did the bytes actually leave volatile cache, and did the application later see the file state it asked for? RFC 9561 supplies the interoperable commands. It does not fold those three questions into one tidy answer.

RFC 9561, published in April 2024 on the IETF Standards Track, maps the pNFS SCSI layout defined by RFC 8154 onto NVMe. It is refreshingly honest about scope: the document does not amend the layout. It translates SCSI concepts into NVMe constructs and works across controller transports — PCIe, RDMA, TCP and Fibre Channel.

A namespace identifier names a target, not an outcome

An eligible NVMe namespace must expose EUI64 or NGUID. The pNFS volume designator carries one of those binary values, and its XDR length is what separates the eight-octet EUI64 from the sixteen-octet NGUID. That is genuinely useful precision: two implementations can now point at the same namespace representation and mean the same thing.

What the identifier does not do is attest contents, controller-path agreement, or application use. A host can reach one namespace through several controllers, and NVMe reservation keys apply across every controller bound to the same Host Identifier. The host-to-namespace association is therefore wider than any single path — which is precisely why an inventory of Host Identifiers and controller associations is not paperwork but the map you will need later.

Fencing produces a command receipt and a storage result — and they are not the same thing

Before it hands back the volume, the metadata server registers its key and takes an Exclusive Access – Registrants Only reservation. To fence a client that has gone quiet, it sends Reservation Acquire with Preempt, or Preempt and Abort, naming both its own key and the target's. A fenced client learns its fate through Reservation Conflict.

The command is not the proof. RFC 8154 makes the intended result stronger than "the command completed": every I/O the fenced client issues must be rejected. Backing that claim takes reservation state before and after, plus observed I/O behaviour on every relevant controller path. A preempt completion with no path inventory is a very neat receipt for a very incomplete operation.

RFC 9561 also prescribes the recovery dance. After a non-retryable NVMe error, the client must commit affected layouts through the metadata server, return outstanding layouts, forget the device ID and unregister its key. The specification assigns responsibility. It does not remotely certify that any particular client finished the sequence.

A successful commit hides a conditional flush edge

NVMe controllers are allowed a volatile write cache. When VWC capability and the WCE setting make that cache live, the metadata server must issue NVMe Flush so the cache reaches stable storage before LAYOUTCOMMIT returns — the mapping's stand-in for SCSI SYNCHRONIZE CACHE.

That makes a successful return meaningful, and bounded. The evidence still needs the right namespace, the cache state, the command ordering, the flush completion and the failure context. Stable storage at the device proves nothing about replication, later readability or an application transaction. It says something narrower and more valuable: this is the storage boundary the command actually reached.

The security boundary is layered the same way. NFSv4 and RPC protect the conversation with the metadata server — not, automatically, the NVMe I/O underneath. NVMe/TCP can run TLS; PCIe offers roughly nothing extra. NFS authorizes users and files; NVMe authorizes initiators and volumes. The client has to hold that correspondence together, because one green control plane cannot impersonate the other.

Lu Heng's reality-layer discipline applies cleanly here: identifier, configuration, executed command, device state and application observation are each real, and the trouble starts the moment one gets promoted into the next without evidence.