Share via

Vanished attached disk to windows VM after deallocation

Carlos Raposo 26 Reputation points
2022-03-27T17:14:14.027+00:00

Hello everyone,

I have a Windows 10 Pro VM using Standard HB120rs v2. I needed a bigger disk so I went to settings - Disks- Create and attach a new disk - Standard SSD of 1024 GB.

Then I initialize the disk in the VM and proceeded to save things on the new disk called Data2 with size of 890GB. I was using almost half of disk capacity.

Yesterday I deallocate the machine to don't consume resources. When I started the machine the disk was not there.
I went to disk management and it says that there is a non allocated disk of 890 GB.
However if I initialize I think I will loose everything on the disk correct?

I went to settings of the vm and then disks. The disk of 890 GB doesn't appear, even when I click on attach existing disks.
So I don't know what happened. Also, the disk is not present when I go to resources - disks. But it does appear on disk management on the virtual machine.

Does this mean I lost everything? I don't think I created backups.

Thank you for reading.

Azure Disk Storage
Azure Disk Storage

A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2022-03-28T18:09:42.093+00:00

    @Carlos Raposo
    I understand you attached a new disk to your VM and initialized the disk in the VM. After stopping the VM you are unable to find the disk and see the space as not allocated. Please correct me if I am misunderstanding.

    Since you are still seeing the 890GB of disk space but not seeing an attached disk, most likely you were unknowingly using the temporary storage disk. The temporary disk provides short-term storage for applications and processes, and is intended to only store data such as page or swap files. Data on the temporary disk may be lost during a maintenance event or when you redeploy a VM. Since you stopped the VM any data and formatting done to the disk was lost.

    I recommend creating and attaching a data disk to the VM. Once attached make sure you are provisioning the data disk and not the temporary disk. Data disks should remain attached during stopping of the VM and data will not be lost.

    Hope this helps. Let me know if you have further questions or need more assistance.

    -------------------------------

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

    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.