Azure-Linux VM -Configure A Partition Larger Then 2 TB.


Hello ,

In This Scenario we will cover how to configure a partition larger then 2TB.

After we have created the a new disk using one of the options (Portal, Azure Cli , PowerShell)

disk will be attached to the VM.

If we run fdisk -l we can see at the bottom the latest disk with a 4TB size.

Below we can see what happens when trying to allocate one large partition that will contain the entire disk size.

We will receive Value out of range.

and disk we be partitioned as 1.8 TB.

So here are the news ->Fdisk utility supports up to 2TB disk!!

If you wish to use a larger disks please use parted utility.

 

So how do we overcome it ?

We will use parted utility .

 

Hope this will help.

if you still face an issue please raise a support ticket and one of our engineers will assist you.

Thank You,

Tzachi Elkabatz


Comments (0)

Skip to main content