Registers a label. Permissions required: fc or a.
Registers a label. See Using Storage Labels for more information on labels. Attempting to register a label that is already registered, results in an error.
When registering a label for a Storage Pool, the label and its associated values apply to all the disks in the Storage Pool.
maprcli label add
-label <label to be registered>
[ -maxactiveioperdisk max active io per disk ]
[ -numdisksperinstance num disks per mfs instance ]
[ -isssd is solid state drive ]
[ -istrimenabled is trim enabled ]
| Request Type | POST |
| Request URL |
|
truefalseRegister a label, before using it to label a storage pool.
maprcli label add -label WDCheetah
https://abc.sj.us:8443/rest/labels/add?label=WDCheetah
Register a label with additional settings such as the maximum active IO per disk and marking it as a SSD, before using it to label a storage pool.
maprcli label add -label WDCheetah -maxactiveioperdisk 5000 -isssd true -istrimenabled true
https://abc.sj.us:8443/rest/labels/add?label=WDCheetah&maxactiveioperdisk=5000&-isssd=true&istrimenabled=true