Home > Veritas Storage Foundation™ for DB2 Manual Pages
Table of contents
db2ed_ckptmount- mount a Storage Checkpoint for a DB2 database
[ -I DB2INSTANCE ]
-c CKPT_NAME -m MOUNT_POINT
[ -o rw | ro ] [ -h ]
This command is part of Veritas Storage Foundation for DB2.
To determine whether this product is installed on an \1 system, type:
lslpp -L VRTSdb2ed
The db2ed_ckptmount command is used to mount a Storage Checkpoint into the file system namespace. A mounted Storage Checkpoint appears as any other file system on the machine and can be accessed using all normal file system-based commands.
The following options are supported:
Specifies the name of the DB2 instance. If the instance name is not specified, the current user will be used as the instance owner.
Specifies the name of the DB2 database whose Storage Checkpoint will be mounted.
Specifies the name of the Storage Checkpoint to be mounted. This Storage Checkpoint must have been created using the db2ed_ckptcreate or db2ed_ckptcreate command.
Specifies the mountpoint where the Storage Checkpoint will be mounted. If the specified mountpoint does not exist, then db2ed_ckptmount creates it before mounting the Storage Checkpoint, as long as the current instance owner has permission to create it.
-o ro | rw
Specifies read-only or read-write for mounting the Storage Checkpoint. By default, all read-only Storage Checkpoints are mounted as read-only. Mounting a read-only Storage Checkpoint as read-write requires creating a shadow Storage Checkpoint of the existing read-only one to ensure that the original read-only Storage Checkpoint is preserved. Thus, the mounted Storage Checkpoint name will be different than the one named on the command line if the rw option is used. \_wrxxx, where xxx is an integer, will be appended to the Storage Checkpoint name if it is mounted as read-write.
All read-write Storage Checkpoints will always be mounted as read-write.
Shows command usage.
This example shows how to mount a Storage Checkpoint with the read-write option:
$ /opt/VRTS/bin/db2ed_ckptmount -D PROD -c Checkpoint_971672042 -m /tmp/ckpt_rw -o rw
Creating Storage Checkpoint on /tmp/ckpt_rw/udb_home/udb01a_home
with name Checkpoint_971672042_wr001
This example shows how to mount a Storage Checkpoint with the read-only option:
$ /opt/VRTS/bin/db2ed_ckptmount -D PROD -c Checkpoint_971672042 -m /tmp/ckpt_ro -o ro
db2ed_ckptmount can be run as either the DB2 instance owner or the superuser.
Veritas Storage Foundation for DB2 Administrator's Guide
Last updated: 4 Nov 2004
Copyright ©2009 Symantec Corporation
All rights reserved.