130 Alphabetical list of commands
rollback master-volume
Description
Rolls back (reverts) the data on a master volume to the data that exists in a specified snapshot. You
can choose whether to include modified write data from the snapshot in the rollback. You must
unmount/unpresent/unmap the master volume from hosts before using this command. The command
will prompt you to ensure the master volume is unmounted/unpresented/unmapped before
proceeding.
CAUTION:
All data that differs between the master volume and the snapshot is lost. Create a
snapshot of the master volume as it currently exists before performing a rollback.
Syntax
rollback master-volume
snapshot
snapshot
[modifiedsnapshot yes|no]
[prompt yes|no]
master-volume
Parameters
snapshot
snapshot
Name or serial number of the snapshot containing the data to roll back to. For volume syntax, see
Command syntax
on page 22.
modifiedsnapshot yes|no
Optional. Specifies whether to include or exclude modified write data from the snapshot in the
rollback.
•
yes
: Include modified snapshot.
•
no
: Exclude modified snapshot data.
If this parameter is omitted, modified snapshot data is excluded.
prompt yes|no
Optional. Specifies an automatic response to the prompt to unmount/unpresent/unmap the master
volume before proceeding.
•
yes
: Allow the command to proceed.
•
no
: Cancel the command.
If this parameter is omitted, you must reply to the prompt.
master-volume
Name or serial number of the master volume to roll back. For volume syntax, see
Command syntax
on page 22.
Example
Roll back master volume
MV1
to snapshot
SS1
:
# rollback master-volume snapshot SS1 MV1
You MUST unmount the master volume and the snapshot from all hosts before
starting a rollback operation.
Ready to continue?
yes
Success: Command completed successfully. (MV) - Rollback was started.
(2012-01-21 11:45:40)
See also
•
show master-volumes
•
show snapshots
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...