Renaming a Volume

Describes how to rename a volume using the Control System, CLI or the REST API.

About this task

If you rename a volume, unmount and re-mount of the volume happens during the process, and the mount path of that volume may not be available for a short period of time.

Renaming a Volume Using the Control System

Procedure

  1. Log in to the Control System and go the volume information page.
  2. Click Rename Volume from the Select Action drop-down menu to display the Rename Volume window.
  3. Enter the new name for the volume in the New Volume Name field and click Save Changes for the changes to take effect.
    NOTE For tiering-enabled volumes, volume name cannot exceed ninety-eight characters.

Renaming a Volume Using the CLI and REST API

About this task

The basic command to rename a volume is:
maprcli volume rename -name <oldName> -newname <newName>
Send a request of type POST. For example:
curl -k -X POST 'https://<host>:8443/rest/volume/rename?name=<oldName>&newname=<newName>' --user mapr:mapr
See volume rename for more information.