3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

15.3
Replacing Virtual Volume Snapshots
InForm OS Version 2.3.1 3PAR InForm CLI Administrator’s Manual
You can view current administrative permissions for all users with the showuseracl command
as follows:
15.4 Replacing Virtual Volume Snapshots
A user with the appropriate permissions set (see 15.3 Setting Administrative Permissions on
page 15.2) can use the
updatevv command to replace a copy of a test database.
15.4.1 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 privileges for volume test.ro
See 15.3 Setting Administrative Permissions on page 15.2 for instructions on setting
privileges for this command.
When test.ro needs to be updated, testuser1 unmounts the filesystem on the host
and then issues the following InForm CLI command to replace test.ro with a new
read-only copy:
cli% showuseracl
User Operation Object_Names_or_Patterns
testuser1 updatevv test.rw1, test.rw2
testuser2 updatevv avvro*
CAUTION: It may be necessary to unmount the filesystem(s) on the host before
replacing snapshots with mySnapshot. In replacing snapshots, the system
automatically removes volume exports. Some hosts may not react gracefully when
volume exports are unexpectedly removed.
cli% updatevv test.ro