2014-03-24 27 views
0

我試圖將Azure vhd下載到本地磁盤。該過程開始,創建文件,報告進度,然後退出以下消息。Azure Powershell失敗,出現模糊錯誤:發生一個或多個錯誤

Save-AzureVhd -Source $sourceVHD -LocalFilePath $destinationVHD -NumberOfThreads 5 -verbose 
Elapsed time for download: 00:00:37 
Save-AzureVhd : One or more errors occurred. 
At line:4 char:1 
+ Save-AzureVhd -Source $sourceVHD -LocalFilePath $destinationVHD -NumberOfThreads ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : NotSpecified: (:) [Save-AzureVhd], AggregateException 
    + FullyQualifiedErrorId : System.AggregateException,Microsoft.WindowsAzure.Commands.ServiceManagement.StorageServices.SaveAzureVhdCommand 

回答

3

原因原來是無證,但相當常識我想..

要將VHD複製到另一個存儲賬戶或下載至本地,你可以使用PowerShell,但虛擬機必須在停止州。 因爲在VM運行時,它會不斷寫入VHD,這會修改文件大小和etag,導致並行副本失敗。

相關問題