354

Administering volume snapshots

Creating traditional third-mirror break-off snapshots

2Use the vxassist mirror command to create mirrors of the existing snapshot volume and its DCO volume:

#vxassist -g diskgroup mirror snapshot

#vxassist -g diskgroup mirror $DCOVOL

Note: The new plex in the DCO volume is required for use with the new data plex in the snapshot.

3Use the vxprint command to find out the name of the additional snapshot plex:

#vxprint -gdiskgroup snapshot

4Use the vxprint command to find out the record ID of the additional DCO plex:

#vxprint -g diskgroup -F%rid $DCOVOL

5Use the vxedit command to set the dco_plex_rid field of the new data plex to the name of the new DCO plex:

#vxedit -gdiskgroup set dco_plex_rid=dco_plex_rid new_plex

The new data plex is now ready to be used to perform a snapback operation.

Dissociating a snapshot volume

The link between a snapshot and its original volume can be permanently broken so that the snapshot volume becomes an independent volume. Use the following command to dissociate the snapshot volume, snapshot:

# vxassist snapclear snapshot

Page 353
Image 353
HP Veritas Volume Manager 5.0 -UX 11i v3 manual Dissociating a snapshot volume, # vxprint -g diskgroup -F%rid $DCOVOL