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