volume move
Moves the specified volume or mirror to a different topology.
Permissions required: m
or fc
on the
volume.
Syntax
- CLI
-
maprcli volume move [ -cluster <cluster> ] -name <volume name> -topology <path>
- REST
Request Type POST Request URL http[s]://<host>:<port>/rest/volume/move?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
The name of the cluster on which to run the command. |
name
|
The name of the volume to move. |
topology
|
The new rack path to the volume. To move the volume to another
topology, you must have the Converged
Enterprise Edition installed on your system. Without the
Converged Enterprise Edition, when you run the maprcli volume
move command to move the volume to another topology, the
following error message is returned:
|
Examples
maprcli volume move -name testVolume -topology /newPath
curl -k -X 'https://abc.sj.us:8443/rest/volume/move?name=testVolume&topology=%2FnewPath' --user mapr:mapr