Azure – How to mount extra disk on same directory on Azure VM

azure

I have one attached 1TB disk on Azure VM that storage ll be full in some time.
I want to attach second 1TB SSD disk on Azure VM and want to mount on the same directory without losing any data.
can anyone give me steps for this?

Best Answer

You can expand the OS or data disk to 4TB now. That's the best way assuming 4TB will be enough for your use case, otherwise, I suggest creating a virtual disk with Storage Spaces using multiple data disks and copying the content over.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/expand-os-disk

After that, you also have to expand the disk in the operating system.

https://technet.microsoft.com/en-us/library/cc771473(v=ws.11).aspx#BKMK_WINUI

If the partition style for your disk is set to MBR, then 2TB will be the maximum size supported, no matter what you have in Azure. To be able to use 4TB disks in a single partition, you need to use GPT.

Related Topic