I currently have a requirement in which , when a virtual machine disk space is full i will have to increase the disk space via Azure Storage Managment API
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Though storage management API supports resizing page blobs (which is how VMs are stored) through Set Blob Properties operation but don’t do that because it messes up VHD completely. If I understand correctly about a VHD, it has a 512 bytes footer which contains information about that VHD. The Set Properties operation (http://msdn.microsoft.com/en-us/library/windowsazure/ee691966.aspx) just adds bytes to the existing page blob thereby messing this 512 byte footer. Your option would be to create a larger VHD and transfer the contents of your existing VHD to the new VHD.