Resize a namespace
Suggest changes
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
System Manager
-
Click Storage > NVMe Namespaces.
-
Hoover over the namespace you want to increase, click , and then click Edit.
-
Under CAPACITY, change the size of the namespace.
CLI
-
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.
-
Change the privilege setting to advanced:
set –privilege advanced
-
Decrease the size of the namespace:
vserver nvme namespace modify -vserver SVM_name -path namespace_path -size new_size_of_namespace