HP P2000 G3 MSA System CLI Reference Guide
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
Name or serial number of the master volume or snap pool. For volume syntax, see
Command syntax
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
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 ...