VM Role实战: Azure 平台上传虚拟机C 盘不能大于64GB

客户带来一个虚拟机,结果C盘分了126GB。如下图所示:


用CSUpload上传,会出现“TheVHDs logical size of 130048MB exceeds the system maximum of 66560MB”.错误。


解决办法:收缩C盘空间


具体步骤:

1.     Shut down theVM.

2.     Copy VHD fileto your machine from where you will be performing 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 61GB and click on Resize button.

10.   Thedestination path will have VHD with required size. Proceed with Csupload ofVHD. Azure will not show any problem.


相关文章:

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



GmN85ZqettD3nzlhu9/sJpLJoATKa6xHDKNK2ZGNmdcFDyWlMejPzkNg64m/fd2+quqGcTkv7ZvrN0Y0V77nHQ==

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值