Well, come in time we would be running out of hard disk space on Azure Data Disk. Probably we allocate 50GB data disk size and database grew till occupy most of the space and you would like to extend the size. In Azure, you can extend the data disk up to 1TB.
But the question, where can we extend the disk? Too bad, we cannot find the option on Azure Management Portal and Azure Preview Portal.
You only can attach or detach disk
The only way is using Azure Powershell in order to extend the data disk.
But before that, you need to make sure VM is power off and in deallocated state.
Once you VM is deallocated, execute the following command:
# Get the data disk name for the particular VM # Resize the dataDisk to 100GB |
Screenshot: Get data disk name
Screenshot: Resize data Disk
Once done, you can power on the virtual machine and use disk management snap-in to extend your disk.