HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

7 - 18
2. Delete snapshots on the target by using the snapshot delete command.
Queuing Storage Mirroring data
Use the QJournalDir, QJournalFileSize, QmemoryBufferMax, QJournalSpaceMax, QJournalFreeSpaceMin, and
QueueSizeAlertThreshold options with the get and set commands to configure how Storage Mirroring queues data.
See Server Settings on page 12-1 for more information on using these commands with a Storage Mirroring program setting.
Configuring automatic reconnections
Use the AutoReconnect option to configure Storage Mirroring automatic reconnections. See Server Settings on page 12-1
for more information on using these commands with a Storage Mirroring program setting.
Command SNAPSHOT DELETE
Description Deletes the specified snapshot(s) from the target
Syntax
SNAPSHOT DELETE <con_id> <snapshot_list_number | ALL | OLD [ GOOD | BAD ] > [ON <target>]
Options
con_id—Connection ID assigned to the source/target connection
snapshot_list_number—The snapshot number retrieved from the SNAPSHOT LIST command
ALL—Deletes all snapshots
OLD—Deletes only the oldest snapshot
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.
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.
target—Name of the target, an IP address on the target, or a virtual IP address
Examples
snapshot delete 1 3
snapshot delete 1 all bad
snapshot delete 1 oldest
Notes Snapshots are labeled as good or bad depending on the state of the target at the time the
snapshot was taken.
Target names that contain non-alphanumeric characters must be enclosed in quotation marks.