Home > Blockchain >  Does downsizing an Azure VM result in data loss?
Does downsizing an Azure VM result in data loss?

Time:07-20

I have a VM with an OS disk and a single Data disk, particulars below.

  1. If I downsize the VM will it affect any data on the OS or Data disk?
  2. Do I need to backup vm or disks as a precaution prior to downsizing?

====================================================
VM

VM Size: D2s_v3

OS disk

Storage type: Premium SSD LRS
Size(GiB): 127
Max IOPS: 500
Max throughput: 100
Encryption SSE with PMK
Host caching Read/Write

Data disk

Storage type: Premium SSD LRS
Size(GiB):1023
Max IOPS:5000
Max throughput:200
Encryption SSE with PMK
Host caching Read-only

CodePudding user response:

If I downsize the VM will it affect any data on the OS or Data disk?

No, There won't be loss of any data from OS and Data Disk if you are resizing the VM. You can refer the note from MS Document.

But before resizing a VM things to be aware.

  • if you are resizing a production VM, consider using Azure Capacity Reservations to reserve Compute capacity in the region.

  • Downsize a VM this will lead to CPU load can get increased and might choke overall performance if any other application consumes more CPU than expected.

  • You might also see slow performace in loading data from OS and Data Disk.

  • Related