gpt4 book ai didi

Azure 上传 VHD 失败

转载 作者:行者123 更新时间:2023-12-03 07:49:12 26 4
gpt4 key购买 nike

我有一个 Azure bizspark 帐户,我正在尝试将我的 MS Server 2003 VHD 上传到存储/blob,以便将其作为虚拟机进行访问。

我使用disk2vhd制作了68Gb的vhd文件。

然后我使用异地复制创建了一个存储,并添加了一个容器。

之后,通过 azure powershell 我执行了以下操作

获取发布设置:Get-AzurePublishSettingsFile

将它们导入 azure 帐户:Import-AzurePublishSettingsFile C:\path

上传 vhd:

Add-AzureVhd -Destination http://pythia.blob.core.windows.net/pythia/OldPythia -LocalFilePath C:\path\server2003.vhd`

MD5 计算正确,但出现错误。

结果如下:

MD5 hash is being calculated for the file C:\server2003.vhd MD5 hash calculation is completed. Elapsed time for the operation: 00:22:59 Creating new page blob... Upload failed with exceptions: Elapsed time for upload: 00:10:15

这些是我遵循的所有步骤。我该怎么办?

最佳答案

我使用了node.js工具:

  1. 安装node.js
  2. 按照说明操作 here
  3. Azure 虚拟机磁盘上传

此后,我可以使用我上传的磁盘在管理控制台中手动创建虚拟机。

关于Azure 上传 VHD 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19519173/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com