Allow resize of attached VHD-disks
Right now you cannot resize your VHD-disks once attached to a VM directly from the portal. Edit should be possible to at least increase the size of VHD-disks on demand.
Currently you can increase the size of a disk when the VM is in the stop-deallocated state. We are also working on a solution where a disk can be increased in size while attached to a running VM.
Mike D. commented
So...when can we expect this resize disks in a tuning VM?
David O'Keefe commented
As previously noted, Microsoft charges for the provisioned space of a managed disk. We cannot grossly oversize disks because of the cost. We need the ability to resize managed disks without deprovisioning the VM.
Chai S commented
This post suggests charges are based on disk provisioned, https://azure.microsoft.com/en-us/pricing/details/managed-disks/ , not used. It's time to make resizing disk possible.
For older VMs which started out with 127Gb disks, this is an issue.
TJ Cornish commented
This creates a problem when trying to retrieve a VHD back to on-prem - the fully-populated VHD size may exceed the disk space of the on-prem machine, even though the used data of the VHD is small.
This is great if you are setting up a new server or have the ability to just rebuild a server(s) but what about exiting servers that need to be increased?
So, say that my C: drive is already at 127GB, but I really need to increase it. What are my options?
Toni Benamar commented
Does this work under Linux (Ubuntu, ext4 filesystem), i.e. can I safely allocate very large disk and assume that I will be billed for used space only?