Question

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.

Était-ce utile?

La solution

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

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

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à dba.stackexchange
scroll top