HP MSA 2040 CLI Reference Guide
delete all-snapshots 75
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
The name or serial number of the master volume or snap pool. For volume syntax, see "Command
syntax" (page 20).
delete-type all-standard-snapshots|all-replication-snapshots
|all-snapshot-types
Optional; for replication-enabled systems only. Specifies the 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