DOKK / manpages / debian 11 / nvme-cli / nvme-get-ns-id.1.en
NVME-GET-NS-ID(1) NVMe Manual NVME-GET-NS-ID(1)

nvme-get-ns-id - Retrieves the namespace ID for an NVMe block device

nvme get-ns-id <device>

Retrieves the namespace ID for an NVMe block device. The <device> param is mandatory and must be an NVMe block device (ex: /dev/nvme0n1).

None

•Shows the namespace id for the given block device:

# nvme get-ns-id /dev/nvme0n1

Part of the nvme-user suite

04/24/2020 NVMe