Home > Veritas Storage Foundation™ for DB2 Manual Pages
DB2ED_CKPTMOUNT (1) |
|
User Commands |
Table of contents
db2ed_ckptmount- mount a Storage Checkpoint for a DB2 database
db2ed_ckptmount
[ -I DB2INSTANCE ]
-D DB2DATABASE
-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:
-
-I DB2INSTANCE
-
Specifies the name of the DB2 instance. If the instance name is not specified, the current user will be used as the instance owner.
-
-D DB2DATABASE
-
Specifies the name of the DB2 database whose Storage Checkpoint will be mounted.
-
-c CKPT_NAME
-
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.
-
-m MOUNT_POINT
-
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.
-
-h
-
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.
db2ed_ckptcreate(1M),
db2ed_ckptdisplay(1M),
db2ed_ckptpolicy(1M),
db2ed_ckptquota(1M),
db2ed_ckptremove(1M),
db2ed_ckptrollback(1M),
db2ed_ckptumount(1M),
db2ed_ckptupdate(1M),
db2ed_ckptcreate_all(1M),
db2ed_ckptdisplay_all(1M),
db2ed_ckptmount_all(1M),
db2ed_ckptremove_all(1M),
db2ed_ckptrollback_all(1M),
db2ed_ckptumount_all(1M),
db2ed_update_all(1M),
db2_edition(7)
Veritas Storage Foundation for DB2 Administrator's Guide
Last updated: 4 Nov 2004
Copyright ©2009 Symantec Corporation
All rights reserved.