Issue while resizing Azure Managed data disks

358 Views Asked by At

Below are my configurations:

Azure VM is in West Europe Region

NOTE : It is a Generation 1 VM

Current size: Standard_D2_v2_Promo

Actual Requirement: Our requirement is to have a one 4TB disk instead of 2*2 TB disks .

Disks: enter image description here

In the above image I tried to increase disk4 from 2TB --> 4TB by stopping VM.

Issue: After I Increased the disk , I tried to extend the disk in the servers itself after RDP , but cannot expand it as the disk format is MBR. I think the limit to MBR is 2TB and not more ?

Are there any restrictions for this VM Size "Standard_D2_v2_Promo" that all my disks are "MBR" and not GPT ?

enter image description here

Future Planning:

Also now I am looking to upgrade the VM size from "Standard_D2_v2_Promo" to either "DS2_V2" or "DS3_V3"

enter image description here

If I upgrade to DS2_V2 or DS3_V3 will I be able to use GPT disks or still I will be having only MBR disks of 2 TB maximum size.

Please advice . Thanks

1

There are 1 best solutions below

5
Ziya Mert Karakas On

You need Generation 2 VM for GPT.

Generation 1 images can only use GPT partitioning on data disks, not OS disks. OS disks must use the MBR partition style.

Generation 2 images can use GPT partitioning on the OS disk as well as the data disks. Gen2 VMs support up to a 4 TiB OS disk. Azure supports up to 32 TiB for managed data disks.


Sources:

https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2 (list of gen2 VMs)

https://learn.microsoft.com/en-us/azure/virtual-machines/faq-for-disks

https://learn.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks