开发者

Azure Storage & Snapshots

I have a VHD in a container which was mounted by an instance (a DotNetNuke accelerator). But now the instance is stopped so the VHD is not mounted anymore.

The problem is I can't rename this VHD with any UI client. "CloudBerry Explorer for Azure Blob Storag开发者_Python百科e" shows an error when I try to rename it of

This operation is not permitted because the blob has snapshots.

I tried to list snapshots in VisualStudio but it only returns the blob's name...

I tried to mount the VHD in an instance and create a file and it works!?

I'm going crazy. :)


I've managed to remove blob which has snapshots by using Microsoft Azure Storage Explorer. Steps are:

  1. You navigate to the blob in question
  2. Right click -> Manage Snapshots
  3. Delete all the snapshots and the blob will disappear also


The error is accurate. If you get that, it means the blob actually has snapshots. When you mount a blob you are most likely mounting the current version and not a past snapshot. You can enumerate the snapshots using the REST API (use the 'include=snapshots option) to prove this to yourself.

If you really want to delete the blob with minimal hassle, I would suggest using https://www.myazurestorage.com (safe site from Microsoft DPE). It will enumerate your snapshots automatically and allow you to delete them. Once they are all deleted, you can also delete the blob.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜