Search

A technology, a device or an article

An SSD firmware slot is not the revision running now

A stored firmware image, a pending activation and an SSD’s executing revision are distinct observations. NVMe logs show what each result can establish.

Stone panel with empty niches and amber and blue inserts on a sunlit terrace
ITNWS AI-generated conceptual illustration. Niches evoke stored images and an active choice, not a product photograph or SSD log.ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

Active slot: 1. Slot selected for the next reset: 2. These two observations can coexist without an error. In this hypothetical firmware log, the SSD is still executing one revision while another has been selected for later activation. A report saying merely that the update is installed loses the distinction. To determine what the controller is doing now, the reader must separate a stored image, a future selection and the revision actually executing.

The distinction is documented in the historical NVM Express Base Specification 2.0a, whose cover is dated July 23, 2021. The date in the download filename is different and is not substituted for the cover date here. This is an explanation checked on October 29, 2026, not news of a protocol release or an instruction to update any production drive. No firmware image was downloaded to a device and no controller was reset in preparing this article.

Annotation beside the active slot

The Firmware Slot Information log describes the revisions stored in supported slots and reports active firmware information. In that information byte, bits 2:0 identify the slot from which the running revision was loaded. Bits 6:4 concern the slot indicated for activation at the next Controller Level Reset. A zero value in the latter field means the controller does not indicate such a slot; it should not be invented into a universal promise about every future firmware event. The fields answer different temporal questions.

For the hypothetical active slot 1 and next slot 2, the combined byte would contain the corresponding low and high fields. That does not mean the controller is half running each revision or alternating between them for individual I/O commands. One field describes the origin of the current execution, while the other announces a selection. Reading a slot table without the active information can therefore produce a plausible but premature conclusion: the new revision string is present, so the new code must already govern the drive.

The Identify Controller structure also exposes a Firmware Revision field. The nvme-cli Firmware Commit manual explicitly points readers toward this field for the currently executing revision and toward the slot information for firmware state. Comparing both observations gives a more concrete runtime statement than repeating a management tool’s progress message. The observations should belong to the same intended controller and time. A cached asset inventory from before activation cannot establish what a subsequent session is executing.

The log can be retrieved through the current nvme log fw interface. At the checked upstream revision, the older fw-log spelling is documented as a deprecated alias. Installed releases can have a different command vocabulary, so the manual corresponding to the installed tool still matters. The enduring point is the information requested, rather than an unqualified command copied from a web page. This article uses names to identify observations and does not ask the reader to issue state-changing commands.

Slot numbering is also not a partition map. A firmware slot stores an image used by controller firmware management; an NVMe namespace exposes logical storage addressed by ordinary I/O. Dividing user data into namespaces does not assign each namespace its own independently executing controller firmware. A firmware operation may therefore have a broader operational scope than an application expects from the one block-device path it happened to open. Device identity and controller relationships belong to the interpretation before any conclusion about the affected workload.

Annotation beside a stored revision

Firmware Image Download transfers image data to a controller, potentially in multiple portions. The nvme-cli download documentation distinguishes this transfer from commitment and activation. A successful transfer says something about the command that accepted those bytes. It does not by itself establish that the image was committed to the desired slot or that the controller began executing it. Treating the last accepted transfer as the update’s whole outcome collapses several different contracts into a progress bar.

Portions have positions and sizes. The protocol’s Firmware Update Granularity and the tool’s transfer parameters matter to an accepted image download. This is not a normal file copy into a mounted filesystem: the firmware-management commands and image format determine how the device receives the payload. The right image must come from the drive or system vendor for the actual product and circumstances. A protocol command being available cannot establish that a firmware file selected from another model is compatible with the target.

Commit makes another assertion. Depending on its action, it can replace an image in a slot without activating it, replace and select it for activation at the next reset, or select an already stored image for that later activation. These alternatives are reflected in the documented action values 0, 1 and 2. They explain why stored and selected are independent facts. The host can deliberately stage a revision before its intended maintenance window rather than treating every successful commit as an immediate runtime change.

That flexibility creates an accountability requirement. An operator can legitimately finish staging while leaving execution unchanged, but the record should say so. “Image stored in slot 2, current revision unchanged, activation pending under the specified condition” is a useful technical statement. “Updated” can be too vague for a service owner deciding whether a fix is already effective. Conversely, noticing the old running revision immediately after a store-only action is not evidence that the action failed. It may be precisely the requested outcome.

Blue paper envelopes with copper thread on a pale fibrous surface
ITNWS AI-generated conceptual illustration. Envelopes evoke stored and pending state; the arrangement does not prescribe command order. — ITNWS · image_gen · Original ITNWS AI-generated conceptual editorial illustration

A second slot is not automatically a tested rollback plan. The existence of a stored older revision establishes neither vendor support for downgrading nor compatibility of every persistent device state with older code. A read-only first slot, the number of supported slots and activation capabilities are properties reported by the controller and constrained by its implementation. The Identify Controller manual identifies the source of these controller capabilities. An attractive slot table cannot supply product-specific recovery guarantees absent from the vendor’s procedure.

Annotation beside the next reset

The phrase next reset requires a defined scope. NVMe distinguishes controller and subsystem behavior, and a completion status can tell the host that a particular kind of reset is required for activation. A program cannot replace those requirements with the assumption that reopening a device file is enough. Nor should an application restart be renamed a controller reset merely because both events involve starting something again. The firmware state must be related to the protocol event the device actually requires.

The nvme-cli commit manual says that it does not automatically perform the subsequent reset. That statement is directly relevant to an apparent contradiction: a commit command returns, but the revision observed through Identify is still old. If the selected action deferred activation and no required activation event occurred, the observations agree. The command’s completion did not promise that the host had already carried out every later event. The distinction belongs to interpreting the result, rather than assuming either the log or the update utility is lying.

A reset can affect controller queues and the host’s ongoing access. The historical specification describes reinitialization after reset, including queue establishment in the relevant transport model. These are operational consequences, not decorative implementation detail. If a shared storage service uses several paths, availability during one controller’s transition depends on the actual topology and software behavior. A diagram showing two paths does not establish that both avoid the affected firmware domain. The scope of the firmware and the scope of the path failure have to be matched.

This is why the reset observation cannot be considered in isolation from the workload. A controller may carry several namespaces and many active applications. A state-changing event chosen for one desired revision can interrupt more work than the administrator’s current terminal suggests. Here that implication is used only to explain the information needed for a complete update record. No reset commands are proposed, and no claim is made that a particular deployment can tolerate an activation without interruption.

Firmware availability also says nothing by itself about the need for an update. A published image might fix a specific issue under stated conditions, add support, or address a documented defect affecting a subset of products. Whether a particular SSD is in scope comes from the vendor’s release information and identification of the device. The mere ability to store an image is not evidence that it is the right image or that its intended change benefits the present workload. Runtime verification and applicability are different parts of a defensible conclusion.

Annotation beside immediate activation

Action 3 requests activation without the ordinary deferred reset path. This is a capability-dependent operation, not a universal escape from maintenance planning. The controller can report that activation needs another condition or cannot complete in the expected way. The response must be interpreted using the supported protocol and product behavior. A host request contains an intention; the completion and subsequent state establish its result. Repeating the phrase no reset cannot turn a rejected request into running new code.

Even supported activation without reset is not synonymous with zero interruption of useful work. The firmware transition has its own progress, time and command-handling behavior. A service-level claim about latency or availability would need measurements and a supported operational procedure on the actual system. No such measurements are presented here. The protocol’s capability describes a method of activation; the user’s experience depends on how the controller, driver and workload behave during that method.

A strong final record would therefore identify the device and selected image, preserve relevant command outcomes, and observe the executing revision after the required transition. It would also report whether expected I/O service returned. These observations answer different questions: did the requested action complete, did the desired revision become active, and is the intended service operating? A correct revision string cannot prove every fix’s effectiveness, while successful application I/O cannot reveal the firmware revision by itself. The record becomes useful by preserving those distinctions.

For an SSD, the relevant observation concerns the controller’s declared execution state, not a benchmark or a NAND endurance forecast. A slot can contain useful new code while the controller continues executing old code exactly as requested. The meaningful runtime sentence comes later: this identified controller now reports the intended executing revision after the required activation condition. Until those observations exist, a stored image remains a stored image, however complete the download indicator looks.

Sources & documentation

  1. NVMe Base Specification2.0a, historical July2021 ↗
  2. nvme-cli current nvme log fw manual ↗
  3. nvme-cli firmware commit manual ↗
  4. nvme-cli firmware download manual ↗
  5. nvme-cli identify controller manual ↗