Resizing a namespace

Contributors

Starting 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

Do the following…

With System Manager

  1. Click Storage>NVMe Namespaces.

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

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

With the CLI

  1. Enter the following command: vserver nvme namespace modify -vserver SMV_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 SMV_name -path namespace_path -size new_size_of_namespace