locked
Uploading a VHD to Azure RRS feed

  • Question

  • I'm having a hard time uploading a VHD to Azure.  I have a VHD that I have edited and then syspreped.  I run the add-azurevhd -source -destination command and the file uploads but when I try to create the VM, it says the VHD is corrupt.  I can download VHD's from azure fine and they work, but uploading is just not working.  I even tried using cloudberry and still having the same issue.  Any ideas?
    Tuesday, October 22, 2013 12:44 PM

Answers

All replies

  • hi Sergio,

    Thanks for posting!

    From your statement we can deduce that your problem lies with your operation system or how to create VHD.

    Base on my experience, we'd better to use windows server or Linux as Image to create VM. And other operating systems may have not good supported. I suggest you could follow this guideline (http://www.windowsazure.com/en-us/manage/windows/common-tasks/upload-a-vhd/ && http://www.windowsazure.com/en-us/manage/linux/common-tasks/upload-a-vhd/ ) to create VHD. Also I suggest you double check your storage account whether attached on disk is right.

    Also you may refer to this blog (http://blogs.msdn.com/b/kdot/archive/2013/06/29/creating-vm-vhds-in-windows-azure.aspx) to create VHD.

    If I misunderstand or you have new finding, please let me know.

    Thanks

    Regards,

    Will


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Wednesday, October 23, 2013 3:24 AM
  • I created the VHD on a Server 2008 R2 server.  The VHD OS is Windows Server 2012.  I am creating the VHD from scratch, meaning I just attach the OS iso to the VM and build it.  I even tried just putting the OS on without any customizations, then syspreping it and uploading.  I am able to upload but when creating the VM on the blob using the uploaded VHD it fails and says the VHD is corrupted.  I'm running out of ideas.  What else could be the problem?
    Wednesday, October 23, 2013 12:08 PM
  • Hi,

    Do you try to use Azure Portal to upload VHD and create VM? I suggest you could try it and if you also occurred this problem, I guess you may need contact Azure Support via http://www.windowsazure.com/en-us/support/contact/ .

    If you have new finding, please let me know.

    Thanks


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, October 24, 2013 5:15 AM
  • We ended up being successful uploading it as page using a third party software.  Microsoft's PowerShell cmdlets should have done all the work for us but it did not work as advertised.
    Wednesday, October 30, 2013 12:16 PM