Home > Veritas Storage Foundation™ for DB2 Manual Pages

DB2ED_CKPTMOUNT_ALL (1)

User Commands

Table of contents


NAME

db2ed_ckptmount_all- mount a Storage Checkpoint for a DB2 database

SYNOPSIS

db2ed_ckptmount_all [ -I DB2INSTANCE ] -D DB2DATABASE

     -c | -k CKPT_NAME -m MOUNT_POINT
     [ -o rw | ro ] [ -h ]


AVAILABILITY

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


DESCRIPTION

The db2ed_ckptmount_all 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.

OPTIONS

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 | -k CKPT_NAME
Specifies the name of the Storage Checkpoint to be mounted. The Storage Checkpoint must have been created using the db2ed_ckptcreate or db2ed_ckptcreate_all command.
-m MOUNT_POINT
Specifies the mountpoint where the Storage Checkpoints will be mounted. If the specified mountpoint does not exist, then db2ed_ckptmount_all creates it before mounting the Storage Checkpoint, as long as the 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 Storage Checkpoint as read-write requires creating a shadow Storage Checkpoint of the existing read-only one to ensure that the original 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.

EXAMPLE

This example shows how to mount a Storage Checkpoint with the read-write option:


$ /opt/VRTS/bin/db2ed_ckptmount_all -D PROD -k Checkpoint_1103583715                                     -m /tmp/mnt3 -o rw

Mounting Checkpoint_1103583753 on /tmp/mnt3/2 for partition 1.
Creating Storage Checkpoint on /tmp/mnt3/1/testdbhome with 
name Checkpoint_1103583753_wr001
Mounting Checkpoint_1103583786 on /tmp/mnt3/0 for partition 0.
Creating Storage Checkpoint on /tmp/mnt3/0/testdbhome with 
name Checkpoint_1103583786_wr001


NOTES

The db2ed_ckptmount_all can be run as either the DB2 instance owner or the superuser.

SEE ALSO

db2ed_ckptcreate(1M), db2ed_ckptdisplay(1M), db2ed_ckptmount(1M), db2ed_ckptpolicy(1M), db2ed_ckptquota(1M), db2ed_ckptpolicy(1M), db2ed_ckptquota(1M), db2ed_ckptremove(1M), db2ed_ckptrollback(1M), db2ed_ckptumount(1M), db2ed_update(1M), db2ed_ckptcreate_all(1M), db2ed_ckptdisplay_all(1M), db2ed_ckptremove_all(1M), db2ed_ckptrollback_all(1M), db2ed_ckptumount_all(1M), db2ed_update_all(1M), db2ed_clonedb(1M), db2_edition(7)

Veritas Storage Foundation for DB2 Administrator's Guide

Last updated: 15 Jan 2004
Copyright ©2009 Symantec Corporation
All rights reserved.