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
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.