﻿# Matching NVMe path names does not establish one namespace

Before treating controller paths as alternatives to the same data, reconcile namespace identity, subsystem scope and formatted geometry rather than matching local names.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/nvme-namespace-path-identity/
Language: en

## Two paths can expose different data

An inventory sees similarly named namespace devices under several NVMe controllers and labels them redundant paths. The names are assigned by the host and do not establish that both endpoints refer to the same stored namespace. A mistaken join can turn an availability design into access to unrelated data.

The [Linux multipath reference](https://docs.kernel.org/admin-guide/nvme-multipath.html) describes combining namespaces with the same identifier. That identity relationship must be established before path count is interpreted as redundancy, not inferred afterward from matching capacity or familiar device numbering.

## Preserve selection scope

The [Identify Namespace manual](https://raw.githubusercontent.com/linux-nvme/nvme-cli/master/Documentation/nvme-id-ns.txt) distinguishes a controller character device from a namespace block device and explains explicit NSID selection. Record the controller, subsystem context and requested namespace with every response. A numeric NSID without its scope is not a sufficient cross-system join key.

Do not confuse a valid response with a valid comparison. A tool can successfully identify the namespace selected by its arguments while the automation has selected the wrong controller or overridden the intended block-device namespace.

## Decode namespace identity fields

The [libnvme definitions](https://raw.githubusercontent.com/linux-nvme/libnvme/master/src/nvme/types.h) describe NGUID and EUI namespace identifiers and their lifecycle. Preserve the supported populated identity fields and their exact representation. Missing, zero or inconsistent values should trigger investigation rather than fallback to a friendly pathname match.

Check formatted logical-block size and namespace geometry as corroborating context. Agreement is useful but not conclusive: unrelated namespaces can have the same size and format. Conversely, a geometry difference must be resolved before treating endpoints as interchangeable access paths.

## Keep namespace and physical-drive inventory separate

A namespace is not simply the chassis drive serial number. A subsystem can expose storage through several controllers, and physical inventory addresses a different layer from the identity of the logical namespace being accessed.

Maintain explicit links between the namespace, controller paths and physical or remote storage inventory where available. Do not use a drive-level durable name as an automatic substitute for namespace identity. The acceptance question is whether the endpoints serve the same intended data object, not merely whether their hardware belongs to the same asset record.

## Evidence before accepting alternatives

Accept the path relationship only when the intended namespace identity and scope agree, the host's merged view matches that relationship and a read-only application fixture resolves consistently through the supported path. Keep access-state evidence separate from identity evidence: the same namespace may be temporarily inaccessible on one path.

[Local identifiers and device identity](/journal/nvidia-visible-vs-cuda-visible-devices/) supplies the analogous naming distinction. [Storage placement](/journal/storage-optimized-hosting/) connects the resulting path map to loading and recovery behavior.

## What the identity map cannot guarantee

A correct map does not measure failover latency, verify media contents or prove independent hardware failure domains. It prevents a more basic error: counting unrelated namespaces as alternate paths to one dataset. Preserve unresolved identity discrepancies and exclude them from redundancy claims until the storage provider or device contract resolves them.
