Dismounting data volumes

Use the vxrvg dismount command to dismount all the data volumes in an RVG which have file systems. Dismounting is a process to ensure that the file system flushes the buffers of cached data that need to be written and disowns the volume until some application tries to open files from it. The command goes through each data volume one by one and tries to dismount it. The status for each volume is displayed in a tabular format.

Note:

Volumes that do not have a drive letter or volumes that do not have a file system (raw volumes) are skipped.

To run vxrvg dismount command successfully and dismount the specified data volumes, ensure that no application or process has its file handles open on these volumes. If the file handles for some application or process are open on these volumes, you must identify them and stop any such processes.

Dismounting the volume doesn't cause any data loss or does not limit the functionality. After the volume has been successfully dismounted, any process can still open any file on this volume, provided the volume itself is available for read or write. This command can also be used to check whether any application or process actively uses the data volumes of the RVG.

Syntax for vxrvg dismount command

vxrvg [-g <diskgroup>] dismount <rvg>

Output of vxrvg dismount command for an RVG with four data volumes that are associated to it is as follows:

Volume File System Status
J: NTFS Dismounted Successfully.
dv3 Skipped.(No Drive letter assigned!)
F: NTFS Dismounted Successfully.
N: RAW Skipped.(RAW Volume!)