Share via

How to restore a Virtual Machine's disk after the VM crashed?

Benjamin Rommel 40 Reputation points
2025-06-16T12:03:49.5866667+00:00

Hello,

Last week, one of our Virtual Machines in Azure was rebooted causing a several hours long continuous crashing and rebooting until a Microsoft bot or employee fixed it at night.

The VM is now available again and I can connect via RDP, but the second disk where we placed all of our websites appears to be damaged? The disk shows up in the Windows Disk Management, but it shows up as unallocated.

User's image

Is there a way to add the Disk again with the data it had before the VM crashed without formatting it?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


Answer accepted by question author
  1. TP 155.7K Reputation points Volunteer Moderator
    2025-06-16T23:48:16.2333333+00:00

    Hi,

    Based on your last comment I'm afraid your data is lost.

    In general (not in 100% cases, but most), when you create VM at a minimum you have to choose OS disk, and this is separate charge. Depending on your needs, you may choose to attach one or more data disks, which also are a separate charge.

    Standard_E4ads_v6 includes a local 220 GiB NVMe temporary disk as part of the hourly compute charge. It is great option for certain workloads that need fast local storage, but it isn't for storing permanent data. Reason is, if/when you Deallocate your VM, all data is lost, or if VM gets moved to another physical host via redeploy or platform maintenance/health event, all data is lost.

    Bottom line, for files/data that you need/expect to stick around you need to save them on the OS disk or preferably data disk(s). On top of that you should consider which redundancy option you choose for your disks as well as enable backups.

    Below article shows you specifications of Eadsv6 series VMs, for reference:

    https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/memory-optimized/eadsv6-series?tabs=sizestoragelocal#sizes-in-series

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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