Deleting Thin Image pairs by snapshot tree

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
Forcibly delete all Thin Image pairs in the snapshot tree where the cascade attribute for the pair is enabled. When the pairs are deleted, the snapshot data will also be deleted. Before running this API, we recommend that you check information about the pairs within the snapshot tree to confirm that all pairs within the snapshot tree have been deleted.
Tip:

If you use a configuration in which multiple snapshot trees are connected through pairs whose clone attribute is enabled, specify the root volume of the top snapshot tree first and run the API request. This action does not delete pairs in the snapshot trees under the secondary volumes of pairs whose clone attribute is enabled, but changes the statuses of pairs in those snapshot trees to PSUE.

Then, specify the root volume of the snapshot tree under the secondary volume, and run the API request.

Execution permission

Storage Administrator (Local Copy)

Request line

POST base-URL/v1/services/snapshot-tree/actions/delete/invoke

Request message

Object ID

None.

Query parameters

None.

Body
{
  "parameters": {
    "ldevId": 1
  }
}

Attribute

Type

Description

ldevId

int

(Required) LDEV number of the root volume

Response message

Body

A job object is returned. For details on attributes other than affectedResources, see the section that explains job objects.

Attribute

Description

affectedResources

URL of the root volume

By referring to the attributes attribute value, confirm that this is no longer a Thin Image volume.

To verify that all pairs within the snapshot tree have been deleted, obtain the pair statuses and volume attributes based on the pair information you confirmed in advance.

Action template

None.

Status codes

For details about the status codes issued in response to requests for this operation, see the description of HTTP status codes.

Code example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X POST --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/v1/services/snapshot-tree/actions/delete/invoke