Skip to content
Advertisement

How to Expand OS disk on a Linux VM using Cloud Shell?

I have a little problem with a production Classic VM. I reached the maximum capacity of the disk, and I need to expand it.

So I tried:

JavaScript

then

JavaScript

the result:

JavaScript

I don’t understand why there is no VM in the resource group, so I tried to list what is in the resource group^

JavaScript

and the result:

JavaScript

So I have a VM, but Azure can’t see it.

Advertisement

Answer

If you want to deallocate a classic VM, we should use this command azure vm shutdown 'vnmane' in CLI 1.0 with ASM mode:

JavaScript

Hope this helps:)

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement