Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

azure-nvme-id - Man Page

Identify Azure NVMe devices.

Synopsis

azure-nvme-id [--debug] [--help | --version | --udev]

Description

azure-nvme-id is a utility to identify Azure NVMe devices.

It performs an Identify Namespace command on the NVMe namespaces, parsing metadata available in the vendor-specific (vs) field which contains various identification details with a comma-separated, key=value format.

Options

--help

Show usage information and exit.

--version

Show version information and exit.

--udev

Run in udev mode, printing a set of <key>=<value> variables consumed by udev rules. Requires DEVNAME to be set in environment.

Examples

Identify NVMe namespaces:

$ sudo azure-nvme-id
/dev/nvme0n1:
/dev/nvme1n1: type=local,index=1,name=nvme-110G-1

Parse device identifiers for udev consumption:

$ sudo env DEVNAME=/dev/nvme1n1 azure-nvme-id --udev
AZURE_NVME_VS=type=local,index=1,name=nvme-110G-1
AZURE_NVME_TYPE=local
AZURE_NVME_INDEX=1
AZURE_NVME_NAME=nvme-110G-1

Check azure-nvme-id version:

$ azure-nvme-id --version
azure-nvme-id 0.1.2

See Also

Source and documentation available at: <https://github.com/Azure/azure-nvme-utils>

Info

June 05, 2024 azure-nvme-id 0.1.3-1.fc41 User Manual