3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

16.3
Replacing Virtual Volume Snapshots
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
You can view current administrative permissions for all users with the showuseracl command
as follows:
16.4 Replacing Virtual Volume Snapshots
A user with the appropriate permissions set (see 16.3 Setting Administrative Permissions on
page 16.2) can use the
updatevv command to replace a copy of a test database.
16.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 16.3 Setting Administrative Permissions on page 16.2 for instructions on setting
privileges for this command.
X 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