disk modify
Modifies the attributes of one or more disks on the specified node. Permissions
required: fc
or a
.
Syntax
- CLI
-
maprcli disk modify [ -cluster <cluster> ] [ -stripeWidth <stripe-width> ] -disks <disk names> -host <host>
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/disk/modify?<parameters>
Parameters
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
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
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"]