How to Increase storage of an Azure Virtual Machine
This how to guide will explain in detail how to incease the storage capacity of an Azure Virtual Machine
Checklist
The checklist is a tool to ensure you remember to perform all steps in the how-to article. It provides an overview with the option to drill down into the how-to guide. If possible make the checklist chronological.
Things to be aware of!
Be sure that the disk size is below 1028GB for 1TB, otherwis we will be charged for 2TB. Azure has set disk sizes if the size is incorrect we will be charged for next disk size up, see the table below.
EG to add 10TB select and S40 (2TB) and S60 (8TB)
How-to guide:
Login to the customers Azure portal
Browse to the desired Virtual Machine by clicking in the search box and selecting Virtual Machines
Select the desired Virtual Machine from the list, usually this will be an App server
Once the Virtual Machine page is displayed select disks on the left hand side
Once the disk page is displayed, select Add data disk
You will then be presented with some options, disk name, size, etc
The top half of the form should look similar to this once completed
In the bottom half of the form we need to select a storage account to be used as these are unmanaged disks (managed disks select the storage account automatically)
Scroll down and click on Browse to select the storage account to be used
After clicking on Browse select the desired storage account
Then select the desired container to be used
Click select
Then click OK
The disk is now added and visible in the list, set the Host Caching to match the other disks and all looks correct, click Save
Azure will now update the virtual machine with the new disk configuration
After Azure has completed the updating it should look like this
We now need to complete the remainder of this task on the server itself, so logon to the server over RDP
Once you are on the server open an MMC by clicking start and MMC (Microsoft Management Console)
Open MMC and select File > Add Remove Snapin
Now select Disk Management > Add
Ensure This Computer is selected and click Finish
Click OK
In the Console root double click Disk Management
Click OK to Initialize the new disk
Identify the drive you wish to expand
Right click on the drive and select Extend Volume
This opens the Extend Volume wizard click next
Select the disk in Available and click Add
Click Next
Click Finish
Click Yes on the Disk Management dialogue box
Browse to This PC in Windows explorer to confirm the disk space is now expanded by 1TB
The final step is to update the customers config log to include this storage expansion
Ā
Your contribution is important
Help us improve - together!
If youād like to provide any feedback or suggested improvements to this guide, please feel free to leave a comment and the author will be notified.
Thank you.