VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Chapter 10, Using Database FlashSnap for Backup and Off-Host Processing
Prerelease 8 September 2005, 8:55am Preparing Hosts and Storage for Database FlashSnap
207
Note For enabling persistent FastResync on a volume in VxVM 4.1, either from the command line
or from within a script, use the vxsnap prepare command as described above.
2. To verify that FastResync is enabled on the volume, use the vxprint command:
# vxprint -g diskgroup -F%fastresync volume_name
This returns on if FastResync is on. Otherwise, it returns off.
3. To verify that a DCO and DCO log volume are attached to the volume, use the vxprint
command:
# vxprint -g diskgroup -F%hasdcolog volume_name
This returns on if a DCO and DCO log volume are attached to the volume. Otherwise, it
returns off.
4. Create a mirror of a volume:
# vxsnap -g diskgroup addmir volume_name alloc= diskname
Note There is no option for creating multiple mirrors at the same time. Only one mirror can be
created at a time.
5. List the available mirrors:
# vxprint -g diskgroup -F%name -e"pl_v_name in \"volume_name\""
Note The following two steps enable database FlashSnap to locate the correct mirror plexes when
creating snapshots.
6. Set the dbed_flashsnap for the data plex you want to use for breaking off the mirror. You can
choose any tag name you like, but it needs to match the tag name specified in the snapplan.
# vxedit -g diskgroup set putil2=dbed_flashsnap plex_name
7. Verify that the dbed_flashsnap tag has been set to the desired data plex:
# vxprint -g diskgroup -F%name -e"pl_v_name in \"volume_name\" \
&& p2 in \"
dbed_flashsnap\""
If you require a backup of the data in the snapshot, use an appropriate utility or operating system
command to copy the contents of the snapshot to tape or to some other backup medium.