Can we expand the disks in Azure VM without stopping the VM itself. (online)

We are looking for an online method to expand the disk which we are not able to crack. We have certain apps moving to IAAS which at times require disk expansion.

  • Did you tried this Article – Shanky May 3 at 10:41
  • Thats the known process where you shut down the VM. (offline) We are seacrhing if there is an option to do it online. – Ramakant Dadhichi May 3 at 10:59

I believe the answer is you cannot. I tried doing so but you get below message on Azurr portal which rules out the possibility

Disks can be resized or account type changed only when they are unattached or the owner VM is deallocated.

enter image description here

So you have to either stop the VM or detach the disk, change its size and attach it again. With VM being online it is not possible.

  • 1
    Thanks. i really wish they introduce online expansion as Production servers can really suffer because of this. – Ramakant Dadhichi May 3 at 14:35
  • May be you could raise a feedback request. – Shanky May 3 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.