Getting the Application Client's "HostNQN"

AI Tools

The application client running NVMe software drivers will have an NVMe Qualified Name, or NQN. The value is stored in the Linux files system under the following path:

Sample Command

/etc/nvme/hostnqn

If that directory is not automatically created upon installation of the NVMEe driver and utility software, you can generate the directory with the following procedure:

  1. Create a directory and run the nvme gen-hostnqn command:

Sample Command

$ mkdir /etc/nvme; nvme gen-hostnqn > /etc/nvme/hostnqn
  1. Use the following command to see the application client nvme hostnqn:

Sample Command

$ cat /etc/nvme/hostnqn

Sample Output

nqn.2014-08.org.nvmexpress:NVMf:uuid:e0411a14-fb39-4851-b0e9-5910a7d340bf


On This Page