Symantec logo

Removing a version 0 DCO and DCO volume


  Note   The operations in this section relate to version 0 DCO volumes. They are not supported for the version 20 DCO volume layout that was introduced in VxVM 4.0.


To dissociate a DCO object, DCO volume and any snap objects from a volume, use the following command:

# vxassist [-g diskgroup] remove log volume logtype=dco

This completely removes the DCO object, DCO volume and any snap objects. It also has the effect of disabling FastResync for the volume.

Alternatively, you can use the vxdco command to the same effect:

# vxdco [-g diskgroup] [-o rm] dis dco_obj

The default name of the DCO object, dco_obj, for a volume is usually formed by appending the string _dco to the name of the parent volume. To find out the name of the associated DCO object, use the vxprint command on the volume.

To dissociate, but not remove, the DCO object, DCO volume and any snap objects from the volume, myvol, in the disk group, mydg, use the following command:

# vxdco -g mydg dis myvol_dco

This form of the command dissociates the DCO object from the volume but does not destroy it or the DCO volume. If the -o rm option is specified, the DCO object, DCO volume and its plexes, and any snap objects are also removed.


  Note   Dissociating a DCO and DCO volume disables Persistent FastResync on the volume. A full resynchronization of any remaining snapshots is required when they are snapped back.


For more information, see the vxassist(1M) and vxdco(1M) manual pages.