Replacing A Read-Only Snapshot; Replacing A Read-Write Snapshot - HP 3PAR StoreServ 7200 2-node Administrator's Manual

Hp 3par command line interface administrator's manual: hp 3par os 3.1.2 (qr482-96525, september 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

NOTE:
The updatevv command can also update sets of virtual volumes. For a complete list of
options available for the updatevv command, see the HP 3PAR Command Line Interface Reference
and the HP 3PAR CLI Help.

Replacing a Read-Only Snapshot

The following example shows how to replace a read-only snapshot volume with a new read-only
snapshot volume.
In this example:
test is a base volume (or a read-write snapshot). This volume holds the database.
test.ro is a read-only snapshot of test. This snapshot is a read-only copy of the database.
testuser1 is a user with updatevv rights for volume test.ro. See
Rights" (page 170)
When test.ro needs to be updated, testuser1 unmounts the filesystem on the host and then
issues the following HP 3PAR CLI command to replace test.ro with a new read-only copy:
cli% updatevv test.ro
This command removes test.ro and replaces it with a new read-only snapshot of test. This
new volume is also called test.ro.
NOTE:
In this example, test.ro can have a VLUN associated with it. The command will remember the
VLUN, remove the old snapshot, create a new snapshot, and recreate the VLUN with the new
snapshot.
After the snapshot is replaced, testuser1 must remount the filesystem on the host.

Replacing a Read-Write Snapshot

The following example shows how to replace a read-write snapshot volume with a new read-write
snapshot volume.
In this example:
test is a base volume (or a read-write snapshot). This volume holds the database.
test.ro1 is a read-only snapshot of test. This snapshot is the reference copy of the
database.
test.rw1 is a read-write snapshot of test.ro1. This is a snapshot of the reference copy
of the database, created for development purposes.
testuser1 is a user with updatevv rights for volume test.rw1 See
Rights" (page 170)
When test.rw1 needs to be restored, testuser1 unmounts the filesystem on the host and
then issues the following HP 3PAR CLI command to replace test copy test.rw1 with a new
copy:
cli% updatevv test.rw1
This command removes test.rw1 and replaces it with a new snapshot of test.ro1. This new
volume is also called test.rw1.
for instructions on setting rights for replacing a read-only snapshots.
for instructions on setting rights for replacing a read-write snapshots.
"Setting Administrative
"Setting Administrative
Replacing Virtual Volume Snapshots
171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents