Adding disk to Azure vm

FunMum 100 Reputation points
2024-12-16T19:00:25.9433333+00:00

Hello,

We converted a bunch of vmdk to vhd fixed-disks and uploaded to Azure within the same resource group and region of the target virtual machines using Storage Explorer. When I go to the virtual machine and click attach disk, I do not see the disks there. However, when I go there, the disks show "unattached" as well as "Premium SSD LRS" just like all the other attached disks.

Are there ay possible missing steps to allow the virtual machine to see the disks?

Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
271 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,172 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
653 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinod Kumar Reddy Chilupuri 1,915 Reputation points Microsoft Vendor
    2024-12-16T20:22:46.6+00:00

    Hi @FunMum

    Welcome to Microsoft Q&A, thanks for posting your query.

    The VHD files were successfully uploaded to Azure and are visible as unmanaged disks, but the disks are not appearing when you try to attach them to your virtual machine. Here are some steps to follow.

    • Check that the uploaded disks are processed and in the correct state for attachment. If they are still in the process of being uploaded or if there was an error during the upload, they may not be available for attachment.
    • Verify that the disks are in the same geographically and logically aligned with the target VM. Disks must be in the same location as the VM to be attached.
    • Verify that the uploaded disks meet Azure's compatibility standards. Azure supports VHD files, but ensure they are not VMDK or any other format.
    • Verify that the user has sufficient privileges to attach disks, which is essential if Role-Based Access Control (RBAC) to attach disks to the virtual machine.
    • Sometimes, the Azure portal may not reflect the latest changes immediately. Try refreshing the portal or logging out and log in.
    • If the portal is not showing the disks, you can try using Azure CLI or PowerShell to list the disks and attach them to the VM.

    https://learn.microsoft.com/en-us/azure-stack/user/azure-stack-manage-vm-disks?view=azs-2408&tabs=az1%2Caz2%2Caz3%2Caz4%2Caz5%2Caz6%2Caz7%2Caz8#attach-an-existing-data-disk-to-a-vm

    Use Azure Storage Explorer to manage Azure managed disks - Azure Virtual Machines | Microsoft Learn

    Please let us know if you have any further queries. I’m happy to assist you further. 


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members. 


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.