The below error is logged in the MountV_A.log located at %VCS_HOME%\log when MountV is hung during the Online operation
VCS WARNING V-16-10051-9023 MountV:<MountResourceName>:online:Unable to open volume [2:2]
The below error is logged in the MountV_A.log located at %VCS_HOME%\log when MountV is hung during the Offline operation
VCS WARNING V-16-10051-9023 MountV:<MountResourceName>:offline:Failed to lock volume [2:5]
The issue occurs when one or more applications have an open handle on the volume configured as the MountV resource.
As per design, the MountV resource cannot be brought online or taken offline if it is locked by another process/application.
.
If the issue still persists, the below options can be explored:
a) Use Microsoft's Handle.exe or Process Explorer tools to determine which processes have open handles on the volume. Veritas Cluster Server (VCS) should be configured to stop any applications which are using the volume with proper dependency to go offline before MountV.
b) MountV attribute ListApplications can be enabled to detect and log applications which have open handles during the offline operation. The handle details are logged in %VCS_HOME%\log\MountV_A.log.
Note: It is best to determine the underlying issue and address the root cause before proceeding with next steps
For offline operation failure, in some cases, consider setting the ForceUnmount attribute to ALL for the MountV resource, and retry the offline operation.
Warning: ForceUnmount = ALL results in a volume being taken offline forcibly even when a write handle exists. This may result in file system corruption and should be used with extreme caution under the direction of Veritas Support. Only enable this option if you are sure there are no applications or users writing to the volume, and have backups of data available to restore should it become unrecoverable. AutoFSClean attribute should be enabled where ForceUnmount = ALL to allow VCS to run CHKDSK against any filesystem reported as not clean during the next MountV online operation.
How MountV reacts to open handles depends on the value of the ForceUnmount attribute in the resource properties:
For Infoscale on Windows, an attempt to online or offline the MountV resource may get hung in the Waiting to go online or Waiting to go offline status respectively.
Feedback submitted!