Adds one or more disks to the specified node. Permissions required:
fc or a.
maprcli disk add
-disks <disk names>
-host <host>
[ -cluster <cluster> ]
[ -label <class of the disks>]
[ -stripeWidth <stripe-width> ]
| Request Type | POST |
| Request URL | |
clusterdiskshostlabelstripeWidthOutput 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 |
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"