HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96022, November 2010)
Description
Deletes the specified snapshot(s) from the target
Syntax
SNAPshot DELete <con_id> <snapshot_list_number | ALL | OLD
[ GOOD | BAD ] > [ON <target>]
Options
l con_id—Connection ID assigned to the source/target connection
l snapshot_list_number—The snapshot number retrieved from
the SNAPSHOT LIST command
l ALL—Deletes all snapshots
l OLD—Deletes only the oldest snapshot
l GOOD—If specified, deletes only good snapshot. If used with
ALL, all good snapshots will be deleted. If used with OLDEST,
only the oldest good snapshot will be deleted.
l BAD—If specified, deletes only bad snapshots. If used with ALL,
all bad snapshots will be deleted. If used with OLDEST, only the
oldest bad snapshot will be deleted.
l target—Name of the target, an IP address on the target, or a
virtual IP address
Examples
l snapshot delete 1 3
l snapshot delete 1 all bad
l snap del 1 oldest
Notes
l Snapshots are labeled as good or bad depending on the state of
the target at the time the snapshot was taken.
l Target names that contain non-alphanumeric characters must be
enclosed in quotation marks.