Skip to main content

Growing your disk on Azure

in Disk Management
Authors list
Published: Dec 1, 2023|Last updated: Dec 1, 2023

In order to grow your disk on Azure Cloud, you need to allocate additional space to your OS Disk. This cannot be done while disk is attached to the virtual machine, and you cannot detach the OS disk from a running virtual machine.

The following steps explain how to detach and grow your OS disk in order to increase the available disk space on your Azure cloud image.

  1. Stop the VM and deallocate the disk

In your Azure Virtual Machine settings, click Stop on the top bar.

image.png
Wait for the virtual machine to stop completely, then confirm that the status is Stopped (deallocated)
  1. Modify your disk

On the menu bar, select Disks then select the OS disk and click Size + Performance

image.png
image.png
image.png
You should see a lost of options to resize your disk. Select the disk you want to use (or enter a custom disk size) and click Save
  1. Restart your virtual machine

Once the disk has finished expanding, go back to your virtual machine settings then click Start to restart the virtual machine

image.png

When your helpdesk restarts, it should see the disk has resized and automatically allocate the space to your filesystem.

To confirm that the disk space has been allocated, login to your VM's command line and run the command df -h. You should now have additional space available on the / mountpoint.

HelpfulUnhelpful
next pageCreate indexes
previous pageIncreasing disk space on the OVA

Please log in or register to submit a comment.