You can modify the mount path of the MediaAgent.
-
Download the Edit_MP_Prop.xml file and save it on the computer where the command is run.
-
Open the XML file.
-
Change the XML parameters.
Attribute
Description
libraryName
The name of the library on which mount path will be updated.
mediaAgentName
The name of the MediaAgent.
mountPath
The old mount path, that will be edited.
numOfWritersForMountpath
The number of writers for the mount path. You can specify a value in the range of 1 to 999.
When the value is set to 0, disables the mount path for write.
When the value is set to -1, allows the maximum number of writers for the mount path.
When the value is set to -2, the existing settings are not altered.
preventDataBlockReferences
Use this option to prevent data block references for new backups.
Valid values:
- 1 to enable
- 0 to disable
- 2 for no change in the existing setting
reserveSpaceInMB
The total amount of free space that must be available at all times when the system writes data to the mount path.
libNewProp/mountPath
The new mount path of the MediaAgent.
resrvSpaceForSiloRestores
When the value is set to 0, disables space reservation for SILO restores.
When the value is set to 1, enables space reservation for SILO restores.
When the value is set to 2, the existing settings are not altered.
enablePruningOfAgedData
When the value is set to 0, disables pruning of aged data.
When the value is set to 1, enables pruning of aged data.
When the value is set to 2, the existing settings are not altered.
useDPSettingsForPruning
Update this parameter only when the value for enablePruningOfAgedData parameter is set to 1.
When the value is set to 0, pruning request is sent to any MediaAgent that has access to the library, irrespective of whether the MediaAgent is part of the data path or not.
When the value is set to 1, the pruning request is sent to only the MediaAgents associated with the data paths in the storage policy copy.
When the value is set to 2, the existing settings are not altered.
Example: Use this example XML file to modify the mount path in a library with name "Library1" and MediaAgent name "MA1" from the current path "E:\Library1\Mountpath1" to a new path "\\MyServer\MyShare\Library1\Mountpath1" that can be accessed with the login username "user1".
-
Run the following command from the <software installation directory>\Base folder.
qoperation execute -af <downloaded location>\Edit_MP_Prop.xml
Click here to see sample output.
What to Do Next
On successfully editing the mount path, copy content from the older location to the new location.
What to do next
On successfully editing the mount path, copy content from the older location to the new location.