Reputation: 65
In May 2017 Azure Rm is Supporting more than 1 TB disk size i have an vhd that size is more than 1 TB how to upload it in Azure Resource Manager Storage Account?
Upvotes: 3
Views: 317
Reputation: 8491
how to upload it in Azure Resource Manager Storage Account?
You could upload it throw Powershell. Here is a sample code.
$rgName = "myResourceGroup"
$urlOfUploadedVhd = "https://mystorageaccount.blob.core.windows.net/mycontainer/myUploadedVHD.vhd"
Add-AzureRmVhd -ResourceGroupName $rgName -Destination $urlOfUploadedVhd `
-LocalFilePath "C:\Users\Public\Documents\Virtual hard disks\myVHD.vhd"
If you want to use this VHD to create a VM, you also need to prepare the VHD for VM. Here are steps to prepare the VHD.
For more information, link below is for your reference.
Edit 2017/6/22
To upload VHD file of more than 1TB as page blob or unmanaged disks, we need to use the latest released toolsets.
| Azure Tools | Supported Versions |
| ------------- |:-------------: |
| Azure Powershell | Version number v4.1.0 – June 2017 Release or above |
| Azure CLI v1 | Version number 0.10.13 – May 2017 Release or above |
| AzCopy | Version number v6.1.0 – June 2017 Release or above |
Reference. New Disk Sizes - both managed and unmanaged
Upvotes: 1