Cause analysis:
This method is available when Web management cannot delete a specific snapshot.
Solution:
Command: delete snapshot
Deletes a specified snapshot. After deleting all the data associated with the snapshot, the space in the snapshot pool can be used. It will also delete this fast
According to all the plans.
Syntax: delete snapshot [cleanup] [delete-priority standard-snapshot | volume-copy-snapshot | replication-snapshot | replicating-snapshot | common-sync-point-snapshot | only-sync-point -snapshot | queued-snapshot] [force] snapshots
Parameters:
Cleanup is optional. When you delete the last snapshot of the primary volume, the primary volume is automatically converted to a standard volume and the snapshot pool is deleted.
Delete-priority standard-snapshot | volume-copy-snapshot | replication-snapshot | replicating-snapshot | common-sync-point-snapshot | only-sync-point-snapshot | queued-snapshot optional. Priority of the deleted snapshot. If the specified priority is lower than the snapshot priority, the delete operation will be blocked. The goal is to prevent accidental deletion of high-priority snapshots. Either this parameter or force parameter must be specified, but cannot be specified at the same time.
Force is optional. Overwrite the priority protection and forcibly delete the specified snapshot. Either this parameter or the delete-priority parameter must be specified, but cannot be specified at the same time.
The name or serial number of the snapshot to be deleted.
Example:
Delete the snapshot SS1 being used by the copy operation:
# Delete snapshot delete-priority replicating-snapshot SS1
Info: Snapshot SS1 was deleted. (SS1)
Try to delete the common-sync-point snapshot SS2 by specifying a lower priority:
# Delete snapshot delete-priority standard-snapshot SS2
Error: Snapshot priority has not been met.
Force delete snapshot SS2:
# Delete snapshot force SS2
Info: Snapshot SS2 was deleted. (SS2)
Delete three standard snapshots:
# Delete snapshot s1, s2, s3
Info: Snapshot s1 was deleted. (s1)
Info: Snapshot s2 was deleted. (s2)
Info: Snapshot s3 was deleted. (s3)