Skip to main content
Hitachi Vantara Knowledge

Get a file system snapshot size

Retrieves the preserved space that is in use by a snapshot. Note that if the snapshot is deleted, all of the space preserved for it may not be freed since some of the space may also be shared with older snapshots.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/filesystem-snapshots/{snapshotObjectId}/snapshot-size
Name Type Required Values Description
snapshotObjectId URI_PARAM Y string Unique object identity of the file system snapshot.
Return codes
Code Data Description
200 snapshotSize File system snapshot size successfully retrieved
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" 4726f2d617473656e672d736e617073686f742d30303031/snapshot-size
Response example
HTTP/1.1 200 OK
 	"snapshotSize" : 8388608


  • Was this article helpful?