Reputation: 536
I have uploaded successfully my 1TB vhd (not containing Windows files) to Azure storage. Now I want to attach it as a second drive to my virtual machine but in the attach list I can find only the "attach an empty disk" option!
I used Add-AzureVhd to upload the vhd file: Creating new page blob of size 999653638656...
I linked the storage resource in Cloud Service but the vhd is still not available to mount.
The container of the storage where I uploaded my vhd is the same with the one where C: drive of my VM is saved. The container access is set to private. Will it help if I change it to Public Blob or Public Container?
What else to try?
Thanks
Upvotes: 3
Views: 7053
Reputation: 71118
Take a look at the PowerShell command Add-AzureDataDisk
. This should be what you're looking for, as you can specify media location of the uploaded vhd.
Alternatively, in the portal, go to Virtual Machines and navigate to the Disks tab, where you can create a new disk:
At this point, you can navigate to your uploaded vhd:
After this is done, the new disk should become available for you to add to a Virtual Machine.
Upvotes: 3
Reputation: 5496
Make sure you used CSUpload and not just pushed the VHD to blob storage. See: http://msdn.microsoft.com/en-us/library/windowsazure/gg466228.aspx
Upvotes: 0
Reputation: 16530
It should show the options to attach (Empty Disk and Existing Disk) as show in this link from Azure documentation.
Assuming the above not possible for what ever may be the reason, the alternative is
Attach Empty Disk
; you can attach a 1 TB disk and download and put the blob contents there. Upvotes: 0