If you want to retain the existing plexes in a snapshot volume after a snapback operation, you can create additional snapshot plexes that are to be used for the snapback.
To add plexes to a snapshot volume
# DCONAME='vxprint [-g diskgroup] -F%dco_name snapshot' # DCOVOL='vxprint [-g diskgroup] -F%log_vol $DCONAME'
# vxassist -g diskgroup mirror snapshot # vxassist -g diskgroup mirror $DCOVOL
The new plex in the DCO volume is required for use with the new data plex in the snapshot.
# vxprint -g diskgroup snapshot
# vxprint -g diskgroup -F%rid $DCOVOL
# vxedit -g diskgroup set dco_plex_rid=dco_plex_rid new_plex
The new data plex is now ready to be used to perform a snapback operation.