Skip to main content

Configuring an SVM for NVMe

If you want to use the NVMe protocol on a node, you must configure your SVM specifically for NVMe.

Before you begin

Your FC adapters must support NVMe. Supported adapters are listed in the Lenovo Press.

Lenovo Press

  1. Verify that you have NVMe capable adapters installed in your cluster: network fcp adapter show -data-protocols-supported fc-nvme
  2. Create an SVM: vserver create -vserver SVM_name
  3. Verify that the SVM is created: vserver show
  4. If you are running ONTAP 9.7 or earlier, remove all protocols from the SVM: vserver remove-protocols -vserver SVM_name -protocols iscsi,fcp,nfs,cifs,ndmp
    Beginning in ONTAP 9.8, it is not necessary to remove other protocols when adding NVMe.
  5. Add the NVMe protocol to the SVM: vserver add-protocols -vserver SVM_name -protocols nvme
  6. If you are running ONTAP 9.7 or earlier, verify that NVMe is the only protocol allowed on the SVM: vserver show -vserver SVM_name -fields allowed-protocols
    NVMe should be the only protocol displayed under the allowed protocols column.
  7. Create the NVMe service: vserver nvme create -vserver SVM_name
  8. Verify that the NVMe service was created: vserver nvme show -vserver SVM_name
    The Administrative Status of the SVM should be listed as up.
  9. Create an NVMe/FC LIF: network interface create -vserver SVM_name -lif lif_name -role data -data-protocol fc-nvme -home-node home_node -home-port home_port
  10. Create an NVMe/FC LIF on the HA partner node: network interface create -vserver SVM_name -lif lif_name -role data -data-protocol fc-nvme -home-node home_node -home-port home_port
  11. Verify the NVMe/FC LIFs were created: net interface show -veserver SVM_name
  12. Create volume on the same node as the LIF: vol create -vserver SVM-name -volume vol_name -aggregate aggregate_name -size volume_size

    If a warning message is displayed about the auto efficiency policy, it can be safely ignored.