vserver nvme namespace modify
Modify an NVMe namespace
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The vserver nvme namespace modify
command modifies NVMe namespace attributes.
Parameters
-vserver <Vserver Name>
- Vserver Name-
Specifies the Vserver.
-path <path>
- Namespace Path-
Specifies the path of the NVMe namespace. Examples of correct NVMe namespace paths:
/vol/vol1/ns1
and/vol/vol1/qtree1/ns1
[-size {<integer>[KB|MB|GB|TB|PB]}]
- Size-
Specifies the size of the NVMe namespace in bytes. You can specify a multiplier suffix:
-
KB (1024 bytes)
-
MB (KB*KB bytes)
-
GB (KB*MB bytes)
-
TB (MB*MB bytes)
-
PB (KB*TB bytes)
-
[-comment <text>]
- Comment-
Contains a textual description of the NVMe namespace.
[-state {online|offline|nvfail|space-error}]
- State (privilege: advanced)-
Use this parameter to modify the state of an NVMe namespace from nvfail to online. Any other state change is not supported.
[-skip-shrink-check <true>]
- Skip checking for NS shrink (privilege: advanced)-
Use this parameter to shrink NVMe namespace size.
Examples
cluster1::*> vserver nvme namespace modify -path /vol/nsvol/ns1 -vserver vs_1 -size 30GB
Modifies the size of NVMe namespace at path /vol/nsvol/ns1
on Vserver vs_1
to 30GB
.