84
Alphabetical list of commands
delete snapshot
Description
Deletes specified snapshots. All data uniquely associated with the snapshot is deleted and
associated space in the snap pool is freed for use. The snapshot's schedules are also deleted.
Syntax
delete snapshot
[cleanup]
[delete-priority standard-snapshot|volume-copy-snapshot|replication-snapshot
|replicating-snapshot|common-sync-point-snapshot|only-sync-point-snapshot
|queued-snapshot]
[force]
snapshots
Parameters
cleanup
Optional. When a master volume's last snapshot is deleted, automatically convert the master volume
to a standard volume and delete the snap pool.
delete-priority standard-snapshot|volume-copy-snapshot
|replication-snapshot|replicating-snapshot|common-sync-point-snapshot
|only-sync-point-snapshot|queued-snapshot
Optional. Priority of snapshots that can be deleted. If the specified priority is less than the snapshot's
priority, deletion is prevented. This is intended to protect against accidentally deleting high-priority
snapshots. You must specify this parameter or the
force
parameter, but not both.
force
Optional. Overrides priority protection and forces the specified snapshot to be deleted. You must
specify this parameter or the
delete-priority
parameter, but not both.
snapshots
Names or serial numbers of the snapshots to delete. For volume syntax, see
Command syntax
on
page 22.
Example
Delete snapshot
SS1
, which is being used in a replication operation:
# delete snapshot delete-priority replicating-snapshot SS1
Success: Command completed successfully. - The snapshot(s) were successfully
deleted. (2012-01-21 09:51:39)
Try to delete common-sync-point snapshot
SS2
by specifying a lower priority:
# delete snapshot delete-priority standard-snapshot SS2
Error: Snapshot priority has not been met. - One or more snapshots were not
deleted. (2012-01-21 09:49:10)
Force deletion of snapshot
SS2
:
# delete snapshot force SS2
Success: Command completed successfully. - The snapshot(s) were successfully
deleted. (2012-01-21 09:50:20)
Delete three standard snapshots:
# delete snapshot s1,s2,s3
Success: Command completed successfully. - The snapshot(s) were successfully
deleted. (2012-01-21 09:41:58)
See also
•
delete snapshot-write-data
•
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 ...