Symantec logo

Recovering from 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.

 To recover from copy-on-write failure

  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 ...]

    The volume can now be used again for snapshot operations.

    Alternatively, you can remove the snapshot volume and recreate it if required.