HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)

HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 75
reset snapshot
Description Deletes the data in a snapshot and resets it to the current data in the associated master volume. The
snapshot's volume characteristics are not changed. The command prompts you to unmount the
snapshot from the host operating system before performing the reset; leaving it mounted can cause
data corruption.
CAUTION: All data represented by the snapshot as it exists prior to issuing this command is lost.
Syntax
reset snapshot [prompt yes|no] volume
Parameters prompt yes|no
Optional. Specifies an automatic response to the unmount prompt that either enables the reset to
proceed or prevents the reset from proceeding:
yes: Enables the reset to proceed.
no: Prevents the reset from proceeding.
If this parameter is omitted, you must reply to the prompt.
volume
Name or serial number of the snapshot to reset. For syntax, type Command syntax.
Example Reset snapshot SS1:
# reset snapshot SS1
Leaving the snapshot mounted during reset on any operating system can result in
data corruption.
Is the snapshot unmounted from all operating systems? yes
Success: Command completed successfully. - The reset of a snapshot completed.
See also show snapshots