disk add
Adds one or more disks to the specified node. Permissions required:
fc
or a
.
Syntax
- CLI
-
maprcli disk add -disks <disk names> -host <host> [ -cluster <cluster> ] [ -label <class of the disks>] [ -stripeWidth <stripe-width> ]
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/disk/add?<parameters>
Parameters
- Parameter:
cluster
- Default Value: No default value
- Parameter:
disks
- Default Value: No default value
- Parameter:
host
- Default Value: No default value
- Parameter:
label
- Default Value: HDD
- Parameter:
stripeWidth
- Default Value: No default value
Output
Output Fields
Field |
Description |
---|---|
|
The IP address of the machine that owns the disk(s). |
|
The name of a disk or partition. Example sca or sca/sca1 |
|
The string |
Examples
Add a disk:
maprcli disk add -disks /dev/sda1 -host 10.250.1.79
https://abc.sj.us:8443/rest/disk/add?disks=["/dev/sda1"]&host="10.250.1.79"