The following error message is observed in the %VCS_HOME%\log\MountV_A.log and %VCS_HOME%\log\Engine_A.log for each of the impacted MountV resources when they attempt to go offline:
YYYY/MM/DD HH:MM:SS VCS WARNING V-16-10051-9023 MountV:
The error code [2:5] translates to Access Denied.
This error is typically caused by an open handle on the filesystem, preventing VCS from obtaining a lock to remove the drive letter from the volume.
To resolve the issue and allow a successful offline of the MountV resource, the below steps can be performed:
1) Set the ListApplications attribute to True for all impacted MountV resource(s) from the VCS Java Console -> MountV resource tree -> Impacted MountV resource -> Properties -> Show all attributes -> ListApplications and attempt to offline the MountV resource again. Allow it time to fault again.
NOTE: By setting ListApplications to True, VCS will capture the open handles on the volumes when attempting to take them offline.
Sample MountV_A.log snippet when ListApplications is set to True
YYYY/MM/DD HH:MM:SS VCS WARNING V-16-10051-9023 MountV:
YYYY/MM/DD HH:MM:SS VCS INFO V-16-10051-9029 MountV::
C:\Windows\system32\svchost.exe(5448) -
In the above example, the MountV_A.log captured PID: 5448 holding the lock on the volume.
2) Once the PID is captured, refer to the Windows Task Manager to gather more details relating to the process/application mapped to the reported PID and take appropriate action to release the handles.
3) After resolving any open handle issues, clear the faults and attempt to offline the MountV resource and it will now be able to go offline successfully. .