Veritas Storage Foundation 5.0 for Oracle RAC Configuration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008

Using Storage Checkpoints and Storage Rollback
Examples of Using the Command Line Interface
Chapter 4
60
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
Unmounting Storage Checkpoints Using dbed_ckptumount
You can use the dbed_ckptumount command to unmount a Storage Checkpoint for an
Oracle database from the command line.
Before unmounting Storage Checkpoints, the following conditions must be met:
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 database owner 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.
See “Mounting the snapshot volumes and backing up” on page 408.
See the dbed_ckptmount(1M) manual page for more information.
Table 4-8 Mounting Storage Checkpoints Notes (Continued)
Table 4-9 Unmounting Storage Checkpoints Notes
Prerequisites You may be logged in as either the database administrator or
superuser.