Azure Linux VM Max OS disk Size

Zied BEN SALEM 81 Reputation points
2022-10-21T08:18:19.077+00:00

Hello ,
I have an azure debian VM with size Standard E8-4s v5 and OSdisk Standard SSD LRS with 4095Gb , when i try to upgrade the disk size to 8192 Gb with terraform i got an error , i think the max size of OSdisk for this size is 4095Gb ,
Did somone have an idea about this or i need to add another disk to this VM and update the LV ??
Thanks in advance .

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,014 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
668 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alan Kinane 16,951 Reputation points MVP Volunteer Moderator
    2022-10-21T08:32:57.843+00:00

    4,095GiB is the maximum OS disk size for an Azure VM. Can you add a data disk instead and use the storage there?

    252900-image.png

    https://learn.microsoft.com/en-us/azure/virtual-machines/managed-disks-overview#os-disk

    Add a data disk: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Zied BEN SALEM 81 Reputation points
    2022-10-21T14:05:59.223+00:00

    This is our current config , if i add a new disk it will add an sdb disk but my need is to extend the part "/" cause i habe a lot of data and i don't like to loose them.
    is there any solution ??
    Thanks in advance

    253072-image.png


Your answer

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