disk add
Adds one or more disks to the specified node. Permissions required:
fc
or a
.
Syntax
- CLI
-
maprcli disk add [ -cluster <cluster> ] [ -stripeWidth <stripe-width> ] -disks <disk names> -host <host>
- REST
-
http[s]://<host>:<port>/rest/disk/add?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
The cluster on which to add disks. If not specified, the default is the current cluster. |
stripeWidth | The number of disks per storage pool. |
disks |
A comma-separated list of disk names. Examples:
|
host |
The hostname or IP address of the machine on which to add the disk. |
Output
Output Fields
Field |
Description |
---|---|
ip |
The IP address of the machine that owns the disk(s). |
disk |
The name of a disk or partition. Example sca or sca/sca1 |
all |
The string |
Examples
Add a disk:
- CLI
-
maprcli disk add -disks /dev/sda1 -host 10.250.1.79
- REST
-
https://r1n1.sj.us:8443/rest/disk/add?disks=["/dev/sda1"]