Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

vhd upload failing

$
0
0

We have created a vhd with disk2vhd for one of our Win7Pro Pc's that is being decommisionned because we will need occasional archival access to a legacy app(not upgradeable) that runs on it. an Azure VM seemed a reasonable solution 

when trying to upload the vhd to our Azure proofofconcept trial we get the following failure..

Account           SubscriptionName TenantId                             Environment
-------           ----------------           --------                             -----------
me@domain      Free Trial                     xxx                             AzureCloud

PS C:\Windows\system32> $rgname = "myrg"
PS C:\Windows\system32> $newvhd = "https://mystorage/uploadedvhds/oaksfront2.vhd"
PS C:\Windows\system32> $myvhd = "d:\oaksfront\oaksfront2.vhd"

PS C:\Windows\system32> Add-AzVhd -resourcegroupname $rgname -destination $newvhd -LocalFilePath $myvhd
MD5 hash is being calculated for the file  D:\oaksfront\oaksfront2.vhd.
MD5 hash calculation is completed.
Elapsed time for the operation: 00:42:09
Creating new page blob of size 160000115200...
Upload failed with exceptions:
Elapsed time for upload: 00:00:00
Add-AzVhd : One or more errors occurred.
At line:1 char:1
+ Add-AzVhd -resourcegroupname $rgname -destination $newvhd -LocalFileP ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Add-AzVhd], AggregateException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Compute.StorageServices.AddAzureVhdCommand

Any help would be appreciated.


 

Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>