label modify
Modifies a label. Permissions required: fc
or a
.
Modifies a label. See Using Storage Labels for more information on labels.
When modifying a label for a Storage Pool, the label and its associated values apply to all the disks in the Storage Pool.
Syntax
- CLI
-
maprcli label modify -label <label to be modified> [ -maxactiveioperdisk max active io per disk ] [ -isssd is solid state drive ] [ -istrimenabled is trim enabled ]
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/label/modify?<parameters>
Parameters
- label
- Possible Values: Any label
- maxactiveioperdisk
- Possible Values: Any integer value between 100 and 50000.
- isssd
- Possible Values:
true
orfalse
- istrimenabled
- Possible Values:
true
orfalse
Examples
Modify a label:
- CLI
-
maprcli label modify -label WDCheetah -maxactiveioperdisk 5000 -isssd true -istrimenabled true
- REST
-
https://abc.sj.us:8443/rest/labels/modify?label=WDCheetah&maxactiveioperdisk=5000&-isssd=true&istrimenabled=true