delete all-snapshots
Description Deletes all snapshots associated with a specified volume. All data associated with the snapshots is
deleted and their space in the snap pool is freed for use. The specified volume can be a master
volume or a snap pool. The snapshots' schedules are also deleted.
Syntax
delete all-snapshots
volume volume
[delete-type all-standard-snapshots|all-replication-snapshots
|all-snapshot-types]
Parameters volume volume
Name or serial number of the master volume or snap pool. For volume syntax, see
on page 22.
delete-type all-standard-snapshots|all-replication-snapshots
|all-snapshot-types
Optional; for remote-replication enabled systems only. Type of snapshots that can be deleted. If this
parameter is omitted, the default is all-standard-snapshots, which means that the command
will try to delete only standard snapshots and will not succeed if replication snapshots exist.
Example Delete all snapshots associated with master volume MV1:
# delete all-snapshots volume MV1
Info: This may take a few minutes if the system is under heavy load...
Success: Command completed successfully. (MV1) - All snapshots were deleted.
(2012-01-20 14:59:01)
Delete all replication snapshots associated with master volume MV2, which is the primary volume in a
replication set:
# delete all-snapshots volume MV2 delete-type all-replication-snapshots
Info: This may take a few minutes if the system is under heavy load...
Success: Command completed successfully. (MV2) - All snapshots were deleted.
(2012-01-20 14:59:01)
See also
• show snapshots
• show volumes
HP P2000 G3 MSA System CLI Reference Guide
Command syntax
75