Map an NVMe namespace to a subsystem

Contributors

You must map a namespace to a subsystem when using NVMe.

What you’ll need
  • You must have configured an SVM for NVMe.

  • You must have created an NVMe namespace and subsystem.

About this task

A namespace can only be mapped to a single subsystem.

Steps
  1. Obtain the NQN from the host.

  2. Add the host NQN to the subsystem:

    vserver nvme subsystem host add -vserver SVM_name -subsystem subsystem_name -host-nqn Host_NQN:subsystem.subsystem_name

  3. Map the namespace to the subsystem:

    vserver nvme subsystem map add -vserver SVM_name -subsystem subsystem_name -path path

  4. Verify that the namespace is mapped to the subsystem:

    vserver nvme namespace show -vserver SVM_name -instance

    The subsystem should be listed as the Attached subsystem.