Veritas Volume Manager 5.0 Troubleshooting Guide Guide (September 2006)

32 Recovery from failure of instant snapshot operations
Failure of vxsnap make for full-sized instant snapshots
Failure of vxsnap make for full-sized instant snapshots
If a vxsnap make operation fails during the creation of a full-sized instant snapshot, the
snapshot volume may go into the DISABLED state, be marked invalid and be rendered
unstartable. You can use the following command to check that the inst_invalid flag
is set to on:
# vxprint [-g diskgroup] -F%inst_invalid snapshot_volume
VxVM can usually recover the snapshot volume without intervention. However, in certain
situations, this recovery may not succeed. If this happens, use the following steps to delete
the DCO volume:
1Use the
vxmend command to clear the snapshot volume’s tutil0 field:
# vxmend [-g diskgroup] clear tutil0 snapshot_volume
2 Run the following command on the snapshot volume:
# vxsnap [-g diskgroup] unprepare snapshot_volume
3 Prepare the snapshot volume again for snapshot operations:
# vxsnap [-g diskgroup] prepare snapshot_volume
Failure of vxsnap make for break-off instant snapshots
If a vxsnap make operation fails during the creation of a third-mirror break-off instant
snapshot, the snapshot volume may go into the INSTSNAPTMP state. VxVM can usually
recover the snapshot volume without intervention. However, in certain situations, this
recovery may not succeed. If this happens, use the following command to delete the
snapshot volume:
# vxedit [-g diskgroup] rm snapshot_volume
Alternatively, the snapshot volume is removed automatically when the system is next
restarted.
Failure of vxsnap make for space-optimized instant
snapshots
If a vxsnap make operation fails during the creation of a space-optimized instant
snapshot, the snapshot volume may go into the INSTSNAPTMP state. VxVM can usually
recover the snapshot volume without intervention. However, in certain situations, this
recovery may not succeed. If this happens, use the following command to delete the
snapshot volume:
# vxedit [-g diskgroup] rm snapshot_volume
Alternatively, the snapshot volume is removed automatically when the system is next
restarted.