Symantec logo

Stopping a volume

Stopping a volume renders it unavailable to the user, and changes the volume kernel state from ENABLED or DETACHED to DISABLED. If the volume cannot be disabled, it remains in its current state. To stop a volume, use the following command:

# vxvol [-g diskgroup] [-f] stop volume ...

To stop all volumes in a specified disk group, use the following command:

# vxvol [-g diskgroup] [-f] stopall

Warning: If you use the -f option to forcibly disable a volume that is currently open to an application, the volume remains open, but its contents are inaccessible. I/O operations on the volume fail, and this may cause data loss. It is not possible to deport a disk group until all of its volumes are closed.

If you need to prevent a closed volume from being opened, it is recommended that you use the vxvol maint command, as described in the following section.