VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Appendix A, VERITAS Storage Foundation for Oracle Command Line Interface
Prerelease 8 September 2005, 8:55am Examples of Using the Command Line Interface
437
Mounting Storage Checkpoints Using dbed_ckptmount
You can use the VERITAS Storage Foundation for Oracle dbed_ckptmount command to
mount a Storage Checkpoint for an Oracle database from the command line.
Prerequisites
You may be logged in as either the database administrator or root.
Usage Notes
The dbed_ckptmount command is used to mount a Storage Checkpoint into the file system
namespace. Mounted Storage Checkpoints appear as any other file system on the machine and
can be accessed using all normal file system based commands.
Storage Checkpoints can be mounted as read-only or read-write. By default, Storage
Checkpoints are mounted as read-only.
If the rw (read-write) option is used, _wrxxx, where xxx is an integer, will be appended to
the Storage Checkpoint name.
If the specified mount point directory does not exist, then dbed_ckptmount creates it
before mounting the Storage Checkpoint, as long as the Oracle DBA user has permission to
create it.
Database FlashSnap commands are integrated with Storage Checkpoint functionality. It is
possible to display and mount Storage Checkpoints carried over with snapshot volumes to a
secondary host. However limitations apply. For details, refer to “Mounting the Snapshot
Volumes and Backing Up” on page 241.
See the dbed_ckptmount(1M)manual page for more information.
To mount Storage Checkpoints with the read/write option
Use the dbed_ckptmount command as follows:
$ /opt/VRTS/bin/dbed_ckptmount -S PROD -c Checkpoint_971672042 \
-m /tmp/ckpt_rw -o rw
Creating Storage Checkpoint on /tmp/ckpt_rw/share/oradata \
with name Checkpoint_971672042_wr001
To mount Storage Checkpoints with the read-only option
Use the dbed_ckptmount command as follows:
$ /opt/VRTS/bin/dbed_ckptmount -S PROD -c Checkpoint_971672042 \
-m /tmp/ckpt_ro -o ro