Veritas Volume Manager 4.1 Troubleshooting Guide (HP-UX 11i v3, February 2007)

Recovery from Failure of a DCO Volume
22 VERITAS Volume Manager Troubleshooting Guide
If a snapshot volume and the original volume are in different disk groups, you must
perform a separate snapclear operation on each volume:
# vxassist -g diskgroup1 snapclear volume snap_obj_to_snapshot
# vxassist -g diskgroup2 snapclear snapvol snap_obj_to_volume
Here snap_obj_to_volume is the name of the snap object associated with the snapshot
volume, snapvol, that points to the original volume.
For the example output, the commands would take this form if SNAP-vol1 had been
moved to the disk group, snapdg:
# vxassist -g mydg snapclear vol1 SNAP-vol1_snp
# vxassist -g snapdg snapclear SNAP-vol1 vol1_snp
5. To snap back the snapshot volume on which you performed a snapclear in the
previous step, use the following command (after using the vxdg move command to
move the snapshot plex back to the original disk group, if necessary):
# vxplex -f [-g diskgroup] snapback volume snapvol_plex
For the example output, the command would take this form:
# vxplex -f -g mydg snapback vol1 vol1-03
Note You cannot use vxassist snapback because the snapclear operation
removes the snapshot association information.
Recovering a Version 20 DCO
For a version 20 DCO, perform the following steps to recover the DCO volume:
1. Correct the problem that caused the I/O failure.
2. Use the vxsnap command to dissociate each full-sized instant snapshot volume that
is associated with the volume:
# vxsnap [-g diskgroup] dis snapvol
For the example output, the command would take this form:
# vxsnap -g mydg dis SNAP-vol1
3. Unprepare the volume using the following command:
# vxsnap [-g diskgroup] unprepare volume
For the example output, the command would take this form:
# vxsnap -g mydg unprepare vol1