Modifies the attributes of one or more disks on the specified node. Permissions
required: fc or a.
maprcli disk modify
[ -cluster <cluster> ]
[ -stripeWidth <stripe-width> ]
-disks <disk names>
-host <host>
| Request Type | POST |
| Request URL | |
| Parameter | Description |
|---|---|
cluster
|
The cluster on which to modify 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 the disk to modify resides. |
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 |
Modify a disk:
maprcli disk modify -disks /dev/sda1 -host 10.250.1.79
https://abc.sj.us:8443/rest/disk/modify?disks=["/dev/sda1"]