Resize a namespace

Contributors netapp-ahibbard netapp-thomi

Beginning with ONTAP 9.10.1, you can use the ONTAP CLI to increase or decrease the size of a NVMe namespace. You can use System Manager to increase the size of a NVMe namespace.

Increase the size of a namespace

Using System Manager

Using the CLI

  1. Click Storage > NVMe Namespaces.

  2. Hoover over the namespace you want to increase, click Kabob Icon, and then click Edit.

  3. Under CAPACITY, change the size of the namespace.

  1. Enter the following command: vserver nvme namespace modify -vserver SVM_name -path path –size new_size_of_namespace

Decrease the size of a namespace

You must use the ONTAP CLI to decrease the size of a NVMe namespace.

  1. Change the privilege setting to advanced:

    set –privilege advanced

  2. Decrease the size of the namespace:

    vserver nvme namespace modify -vserver SVM_name -path namespace_path -size new_size_of_namespace