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
-
For NAS subclients, update the subclient content with the correct volume name.
-
Run a DR backup of the CommServe database.
-
On the command line of the CommServe computer, go to software_installation_directory/Base and type the following commands:
-
To allow the tool to modify the database, type the pre-run command:
SnapManagementTool.exe preRun -vminstance_name -
To rename the volume, type the following command:
SnapManagementTool volRename -vminstance_name-arrayarray_name-oldvolold_volume-newvolnew_volume [-svmvserver]Example:
SnapManagementTool volRename –vmInstance001-arraynetapparray101-oldvolsrc_PM1-newvolsrc_PM1_changed-svmOntap9VS1 -
To remove the write permission from the tool, type the post-run command:
SnapManagementTool.exe postRun -vminstance_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.