Recovering a version 30 DCO volume

To recover a version 30 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
  4. Start the volume using the vxvol command:
    # vxvol [-g diskgroup] start volume

    For the example output, the command would take this form:

    # vxvol -g mydg start vol1
  5. Prepare the volume again using the following command:
    # vxsnap [-g diskgroup] prepare volume [ndcomirs=number] \ 
         [regionsize=size] [drl=yes|no|sequential] \
         [storage_attribute ...]

    For the example output, the command might take this form:

    # vxsnap -g mydg prepare vol1 ndcomirs=2 drl=yes

    This adds a DCO volume with 2 plexes, and also enables DRL and FastResync (if licensed).

    For full details of how to use the vxsnap prepare command, see the Veritas Storage Foundation Administrator's Guide and the vxsnap(1M) manual page.