﻿# Check active and staged NVMe firmware separately

Distinguish executing NVMe firmware from stored slot revisions and activation intent, using read-only controller evidence and the installed tool contract.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-storage-nvme-firmware-slot/
Language: en

A maintenance record says an NVMe firmware image was staged, while the controller still reports the previous executing revision. These observations need not conflict. Image storage, commit selection and activation are different states. For a model-serving node, audit the read-only firmware evidence before deciding whether the intended maintenance state was reached or a later loading comparison used the expected revision.

## Identify the controller precisely

Preserve model, serial, controller identity and tool release with each snapshot. Namespace paths can refer through the same controller, while a replaced device can reuse an administrative path. Compare like identities before treating a changed revision string as an update. Current mainline nvme-cli documentation uses grouped firmware-log retrieval; verify syntax against the installed release rather than assuming every fleet image matches mainline.

## Read the executing revision

The firmware-commit documentation identifies the controller's reported firmware revision as evidence of the currently executing image. Record that read-only observation separately from a package filename, deployment ticket or downloaded-image hash. An operator's intended target establishes the maintenance objective, not proof that the controller already runs it. Preserve the observation time so subsequent reset events are not silently folded into an earlier state.

## Inventory stored slots

Firmware-slot information reports active information and revision strings associated with slots. A revision present in a slot is not automatically the executing revision. Keep the complete supported inventory and applicable field definitions. An empty or unsupported value must remain distinguishable from a known revision; do not manufacture a pending activation state merely because two strings differ in the report.

## Separate commit from activation

The documented commit actions distinguish storing an image from requesting activation under different conditions. Some activation paths depend on a later controller event, while supported immediate behavior has its own semantics. This distinction explains why a successful preparation record can precede a changed executing revision. The audit does not require performing a commit, reset or firmware operation on a live node to interpret existing evidence.

## Verify the intended maintenance outcome

After an authorized maintenance procedure, compare the same controller's executing revision, slot inventory and application recovery evidence. Preserve any unresolved mismatch with the intended target rather than calling the maintenance complete from image presence alone. A useful result states the observed firmware state. It does not recommend an image, establish compatibility or promise better model-loading latency without the specific supplier qualification and a separate matched workload comparison.

## Primary references

[nvme-cli Current Firmware Slot Log Retrieval](https://github.com/linux-nvme/nvme-cli/blob/master/Documentation/nvme-log-fw.txt).

[libnvme Error Entry and SMART Field Definitions](https://github.com/linux-nvme/libnvme/blob/master/doc/rst/types.rst).

[nvme-cli Firmware Commit and Activation Semantics](https://github.com/linux-nvme/nvme-cli/blob/master/Documentation/nvme-fw-commit.txt).

Related reading: [NVMe unsafe shutdowns and media errors mean different things](/journal/nvme-errors-unsafe-shutdowns/); [A Change Register for GPU Drivers and Server Settings](/journal/gpu-maintenance-change-register/).
