Setting the automatic recovery of volumes
By default, VxVM recovers and starts any disabled volumes in the disk group when you import the disk group. To prevent VxVM from recovering the disabled volumes, turn off the automatic volume recovery. For example, after importing the disk group, you may want to do some maintenance before starting the volumes.
To turn off the automatic volume recovery feature
- To turn off automatic volume recovery for the entire system, use the following command.
# vxtune autostartvolumes off
OR
To turn off automatic volume recovery for a specific disk group import operation, use the noautostart option.
# vxdg -o noautostart import diskgroup