'Ultradisk creation from vhd azure

Getting below error: Ultra disk can only be created as empty disk. Is there any way to create it from blob?



Solution 1:[1]

Getting below error: Ultra disk can only be created as empty disk. Is there any way to create it from a blob?

No, as of now, you can't create an ultradisk from vhd using blob.

As per the documentation, you can't convert an existing disk to an ultra disk.

  • You can migrate the data from an existing disk to an ultra disk. To migrate an existing disk to an ultra Disk, attach both disks to the same VM, and copy the disk data from one disk to the other, or use a third-party solution for data migration.

  • Ultra disks can't be used as OS disks, they can only be created as empty data disks. Ultra disks also can't be used with some features and functionality, including disk snapshots, disk export, changing disk type, VM images, availability sets, Azure Dedicated Hosts, or Azure disk encryption.

Can't we directly copy vhd data to empty ultra disk?

  • You can upload a VHD from your local machine to an Azure managed disk or copy a managed disk to another region, using the Azure PowerShell module and Azure CLI. But it isn't supported for ultra disks, yet.

You can refer to Using Azure ultra disks,Convert an existing disk to an ultra-disk?, Upload a VHD to Azure or copy a managed disk to another region - Azure PowerShell and Upload a VHD to Azure or copy a managed disk to another region - Azure CLI

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1