Symantec logo

Recovering a version 20 DCO volume

 To recover a version 20 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).

    See the Veritas Volume Manager Administrator's Guide.

    See the vxsnap(1M) manual page.