The user or the application can write data to the data volumes only if the data access is enabled for the volumes. This operation prepares the volumes to receive the writes from the application. The disable data access operation prevents the user or application from writing any data to the data volumes.
The enable data access operation first tries to lock all the volumes under the RVG and fails if it is unable to lock the volume because of the following reasons:
Some application or file handles are still open on the volume.
The disable data access operation requires that no application should use those volumes.
The volume drive letter is currently being accessed through the explorer.
The drive letter is active in the command prompt.
This option is available from the right-click menu of the Primary and Secondary RVG, and is a toggle option. If the RVG already has the data access enabled, then, the menu displays the Disable Data Access option. Otherwise, the menu displays the Enable Data Access option.
Use the vxrvg dismount command to verify whether Disable Data Access operation succeeds.