A while ago I signed up for a 3 month trial for Microsoft Azure to allow me to continue to use the Azure Backup service after Microsoft moved it from Windows Azure Online Backup Preview into a more mainstream service.
Last night I decided to have a play whilst I’m still on the trial to see how quickly I could stand up a Windows Server 2012 VM instance. The answer is quickly by the way. Within five minutes, I was able to download the .rdp file and connect to the machine, but I digress.
After I was finished, I deleted the VM, but the disk remains in the event that you want to reattach it to another VM. When I tried to delete the .vhd file I got an error that it was still in-use. I wasn’t able to find the answer initially, but after a post on TechNet someone came straight back with the solution in an Azure Technical Support (WATS) blog post at http://blogs.msdn.com/b/windows_azure_technical_support_wats_team/archive/2013/02/05/iaas-unable-to-delete-vhd-there-is-currently-a-lease-on-the-blob.aspx.
In a nutshell, although the VM is deleted, it leaves behind a disk mount resource which is used to link the VM to the VHD BLOB. Follow the steps in the post to delete the link an you will be given an option to delete the actual .vhd file as well as the link. Job Done.




No Further Questions
I took the decision today to globally disable comments on the site. I’ve been getting in the region of 250 spam comments daily and I’ve had about 5 actual, real person comments in just as many months. To have the Akismet plugin for WordPress running to filter and manage all of these spam messages adds overhead to the blog and overhead for me to moderate those comments and it just isn’t worth it for the number of comments I receive.
To those of you who do want to contact me, please use the contact page on the site which has all of my social interaction addresses and handles listed.
I just want to stress that I’ve taken this decision not because I don’t want to hear from people about my thoughts and topics of conversation, but just because there isn’t enough real people interested in my material to warrant dealing with the spam.
I hope you understand?
by richardjgreen on May 16, 2013
tagged in Akismet, comments, WordPress