VERITAS Volume Manager 4.1 Troubleshooting Guide
Recovery from Failure of Instant Snapshot Operations
Copy-on-write Failure
Chapter 242
Copy-on-write Failure
If an error is encountered while performing an internal resynchronization of a volume’s
snapshot, the snapshot volume goes into the INVALID state, and is made inaccessible for I/O
and instant snapshot operations.
Use the following steps to recover the snapshot volume:
1. Use the vxsnap command to dissociate the volume from the snapshot hierarchy:
# vxsnap [-g diskgroup] dis snapshot_volume
2. Unprepare the volume using the following command:
# vxsnap [-g diskgroup] unprepare snapshot_volume
3. Prepare the volume using the following command:
# vxsnap [-g diskgroup] prepare volume [ndcomirs=number] \
[regionsize=size] [drl=yes|no|sequential] \
[storage_attribute ...]
See the VERITAS Volume Manager Administrator’s Guide and the vxsnap(1M) manual
page for full details of how to use the vxsnapprepare command.
The volume can now be used again for snapshot operations.
Alternatively, you can remove the snapshot volume and recreate it if required.