question

MehdiZohourian-4108 avatar image
0 Votes"
MehdiZohourian-4108 asked SumanthMarigowda-MSFT commented

deleting from azure blob

Hello,

I faced a strange issue. I try to delete some data from my azure blob; however it fails to delete with the following message:
2022/04/28 05:18:39 ERR: [P#0-T#41] DELETE SKIPPED(blob has snapshots): train.percepnet.full.timePitch.10s/trainer.rank2.log
2022/04/28 05:18:39 JobID=b0d323a1-0847-ac44-6b16-e5691c73b12e, Part#=0, TransfersDone=1 of 43
2022/04/28 05:18:39 ==> REQUEST/RESPONSE (Try=1/52.3172ms, OpTime=267.0698ms) -- RESPONSE SUCCESSFULLY RECEIVED
DELETE https://exawr/resources/train.percepnet.full.freqPitch.3s?se=2022-05-28t05%3A18%3A33z&sig=-REDACTED-&sp=rdl&sr=c&sv=2020-10-02&timeout=901
X-Ms-Request-Id: [54554c64-c01e-00c5-69bf-5a04ed000000]
Could you please let me know how to solve this?

Regards,
Mehdi

azure-storage-accounts
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SumanthMarigowda-MSFT avatar image
0 Votes"
SumanthMarigowda-MSFT answered SumanthMarigowda-MSFT edited

@MehdiZohourian-4108 Welcome to Microsoft Q&A, Thank you for posting your query here!

Error message : SnapshotsPresent|This operation is not permitted because the blob has snapshots.

Until Snapshot is delete you can't delete the container

Option 1: You navigate to the blob in question "https://mzohourian/torch-separator/resources/train.percepnet.full.freqPitch.3s?se=2022-05-28t05%3A18%3A33z&sig=-REDACTED-&sp=rdl&sr=c&sv=2020-10-02&timeout=901"
Right click -> Manage Snapshots
Delete all the snapshots and and try to delete the blob

Option 2: x-ms-delete-snapshots: {include, only}
Required if the blob has associated snapshots. Specify one of the following two options:

include: Delete the base blob and all of its snapshots.
only: Delete only the blob's snapshots and not the blob itself.

Delete Blob: The Delete Blob operation marks the specified blob or snapshot for deletion. The blob is later deleted during garbage collection.

Please let us know if you have any further queries. I’m happy to assist you further.


Please do not forget to 197251-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.