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.
- Verify that you have NVMe capable adapters installed in your cluster: network fcp adapter show -data-protocols-supported fc-nvme
- Create an SVM: vserver create -vserver SVM_name
- Verify that the SVM is created: vserver show
- 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,ndmpBeginning in ONTAP 9.8, it is not necessary to remove other protocols when adding NVMe.
- Add the NVMe protocol to the SVM: vserver add-protocols -vserver SVM_name -protocols nvme
- 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.
- Create the NVMe service: vserver nvme create -vserver SVM_name
- Verify that the NVMe service was created: vserver nvme show -vserver SVM_name The Administrative Status of the SVM should be listed as up.
- 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
- 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
- Verify the NVMe/FC LIFs were created: net interface show -veserver SVM_name
- 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.
Give documentation feedback