Shared Resource Tree (SRT) creation fails with an error after BMR restore if a backup operation was initiated on the boot server and client while the SRT creation was in progress
This issue is observed in case of those windows boot server and clients wherein the backup has been performed while SRT creation was in progress.
Windows preboot environment is mounted in the staging area under <NetBackup Install Path>/BareMetal/Server/Data/BaseSrd path when the SRT creation is in progress. At this stage if you take a backup, the contents of the mounted staging area also get backed up. If you try to perform a restore of such a backup, during SRT creation post restore, the contents of the staging area cannot be unmounted or removed as they are in an invalid state. Therefore, the SRT creation may fail with a blank error message after restore.
Workaround: Avoid taking a backup of boot servers and clients for which SRT creation is in progress.
If you encounter this issue inadvertently, perform the following steps:
Run the following command:
Dism /Get-MountedWimInfo
Output similar to the following sample is displayed:
C:\>dism /Get-MountedWimInfo Deployment Image Servicing and Management tool Version: 6.1.7600.16385 Mounted images: Mount Dir : C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml.84e525b7#\ b2db45296eabfd00db1920158f3f5eb5\System.Xml.Serialization.ni.dll.aux Image File : C:\Program Files\Veritas\NetBackup\BareMetal\server\data\baseSrd\EN -x86\media\sources\boot.wim Image Index : 1 Mounted Read/Write : No Status : Invalid
To create a new SRT, you must remove or clean the directory
<NetBackup Install Path>/BareMetal/Server/Data/BaseSrd.If you try to remove the
dir / fileswhich reside on this path, an error message is displayed.You require permission from TrustedInstaller to make changes to this file
To clean up the Windows preboot environment, run the following command:
dism /Cleanup-Wim
Take the ownership of the
<NetBackup Installed Dir>\BareMetal\server\data\baseSrd\EN -x86\mount\Windowsdirectory that you want to clean. Perform the following steps:Right-click on the
<NetBackup Installed Dir>\BareMetal\server\data\baseSrd\EN -x86\mount\Windowsdirectory.Right-click and click
Click tab
Click
In the Advanced Security Settings dialog box, click tab. Current ownership details are displayed.
Click to modify and take the ownership of
<NetBackup Installed Dir>\BareMetal\server\data\baseSrd\EN -x86\mount\Windowsdirectory.Provide permissions to UAC. Select the user name from the Change owner to dialog box that you want to assign as the owner for the object. Click .
Once you make the required changes, the same is displayed in the Advanced Security Settings dialog box.
Click to exit
Repeat the steps 1 to 4 to open the
<NetBackup Installed Dir>\BareMetal\server\data\baseSrd\EN -x86\mount\Windowsdirectory's Properties window again.In the
<NetBackup Installed Dir>\BareMetal\server\data\baseSrd\EN -x86\mount\Windowsdirectory's Properties window, click and confirm the UAC elevation request.Select the in the Group or user names dialog box. click , and type in the user name into the Enter object names to select dialog box, and finish off by clicking .
In the Permissions for Administrators dialog box, click under the Allow column to assign full access rights control permissions to group.
Remove the
<NetBackup Installed Dir>\BareMetal\server\data\baseSrd\EN -x86\mount\Windowsdirectory.Retry new SRT creation operation.