Renames the specified volume or mirror. Permissions required: fc or d on the volume



Syntax

CLI

maprcli volume rename
    [ -cluster <cluster> ]
    -name <volume name>
    -newname <new volume name>

REST

http[s]://<host>:<port>/rest/volume/rename?<parameters> 

Parameters



Parameter

Description

cluster

The cluster on which to run the command.

name

The volume name.

newname

The new volume name.

Examples

CLImaprcli volume rename -name testVolume -rename newVolumeName
RESThttps://10.10.82.23:8443/rest/volume/rename?name=testVolume&rename-newVolumeName