[Reprinted] VM role practice: the vm c disk uploaded on the azure platform cannot be larger than 64 GB

Source: Internet
Author: User

The customer brought a virtual machine. As a result, the C drive is divided into 126 GB. As shown in:

When you use csupload for upload, the error "thevhds logical size of 130048 MB exceeds the system maximum of 66560mb" will appear.

Solution: shrink disk C

Procedure:

 

1. Shut down thevm.

2. Copy vhd fileto your machine from where you will be using Ming csupload.

3. Attach locallycopied vhd from disk management console.

4. Right clickand select option as "Attach vhd ".

5. Select locallycopied vhd file and click OK.

6. Right click onnewly attached disk and select "shrink volume" option.

7. provide thesize of the disk you want to shrink. in your case the vhd to be less than 65gb. so anything below 62 GB will be suitable. make sure that you enter such a valuein "Enter amoun Tof space to shrink in MB" textbox so that value in "total size after shrink in MB" textbox will have value less than60gb.

8. Detach vhdafter completion of shrink.

9. download andinstall vhdresizer application, which is free. then open the vhdresizerapplication and provide the vhd file path of above shrank vhd in source. thenprovide Destination path and new size as 61 GB and click on resize button.

10. thedestination path will have vhd with required size. Proceed with csupload ofvhd. Azure will not show any problem.

Related Articles:

Http://blogs.msdn.com/ B /avkashchauhan/archive/2010/12/22/windows-azure-vm-role-handling-error-the-vhds-logical-size-of-130048mb-exceeds-the-system-maximum-of-66560mb.aspx

Http://social.msdn.microsoft.com/Forums/en-CA/windowsazureconnectivity/thread/e29f44eb-9e1b-4f46-9831-bba8e178ec2e


Original article:

Http://blog.csdn.net/lihonggen0/article/details/7420013

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.