Can I access my disk if it says 'Resource not found' when opened? And what does it mean when 0 instances are running in a VMSS?

Prudhviraj Maddukuri 0 Reputation points
2024-06-16T23:16:28.5033333+00:00

I got kicked out of my remote desktop connection a few minutes after deleting the VM and its captured image as soon as accessing the VMSS that was created based on that image. Now it shows nothing under running instances and says '0' instances are running and when I click on disks in the VMSS, it shows there's a disk (127GB Premium SSD) and displays a blank screen that says 'Resource not found'. Is there a way I can access my Disk?

I'm new to cloud, especially Azure and it was totally unexpected as I clearly knew I was only deleting the Image, Gallery and the VM I captured. Any solution or suggestion is greatly appreciated!

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
590 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
360 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anveshreddy Nimmala 3,460 Reputation points Microsoft Vendor
    2024-06-18T06:46:16.04+00:00

    Hello

    Welcome to microsoft Q&A, Thankyou for posting your query here.

    Removing a virtual machine instance from a VMSS by default does not remove any associated disks. But the problem might have arisen because you deleted the captured image.

    Check the real condition of the disk. To verify the state of the drive, use PowerShell or the Azure CLI.

    az disk show [--disk-name]
                 [--ids]
                 [--resource-group]
                 [--subscription]
    

    You might be able to retrieve your data if the disk is still there and in an unconnected state. Unattached disks can be downloaded as VHDs or copied to new managed disks using Azure.

    azure-disk-snapshots-blog

    It's possible that the data cannot be recovered if the disk was accidentally erased. In this scenario, the VMSS will have to be redone. But if you have the original files, you can use an other image or make the image from scratch.

    Hope this helps you.

    0 comments No comments