Renaming a Volume in the Commvault Software

If a volume is renamed on the file server, then use this command to update the database with the new volume name.

Before You Begin

Verify the following:

  • No jobs are running. If jobs are running, suspend them.

  • For NFS configurations, the junction path used by the application is valid.

Procedure

  1. For NAS subclients, update the subclient content with the correct volume name.

  2. Run a DR backup of the CommServe database.

  3. On the command line of the CommServe computer, go to software_installation_directory/Base and type the following commands:

    1. To allow the tool to modify the database, type the pre-run command:

      SnapManagementTool.exe preRun -vm instance_name
    2. To rename the volume, type the following command:

      SnapManagementTool volRename -vm instance_name -array array_name -oldvol old_volume-newvol new_volume [-svm vserver]

      Example:

      SnapManagementTool volRename –vm Instance001 -array netapparray101 -oldvol src_PM1 -newvol src_PM1_changed -svm Ontap9VS1
    3. To remove the write permission from the tool, type the post-run command:

      SnapManagementTool.exe postRun -vm instance_name

where:

  • instance_name is the name of the Commvault instance (for example, instance00).

  • array_name is the name of the NetApp storage array, as entered in the Arrays page.

  • old_volume is the current name of the volume.

  • new_volume is the new name of the volume.

  • vserver is the name of the virtual storage computer. This parameter is required for the NetApp C-Mode only.

Page contents

×

Loading...