0

I have created a VMSS with Ubuntu OS image in Azure. At the moment, I have 3 machines running with disks size of 30GB size. How do I scale up to 64GB or 128GB disks in my Linux VMSS instances? I tried creating a VMSS with managed disk and unmanaged disks, had an option to add data disk but no option to increase the size of existing disk.

Help me understand how do I extend or increase the default size of the disk of my existing VMSS instances which are running in Azure?

Thanks in advance. Incase you need some more information, please let me know, ill be happy to provide any additional info.

Gokul
  • 69
  • 6

2 Answers2

6

Got a response from MSDN forum.

The way to resize the disk in linux VMSS is using the command.

az vmss update -n -g --set virtualMachineProfile.storageProfile.osDisk.diskSizeGb=150

Try it in a test environment as there are some issues with disk size in the new vm's that will be created in the scaleset

Gokul
  • 69
  • 6
  • 1
    For convenience, I've added the required parameters you need to fill in: `az vmss update -n {{vmssResourceName}} -g {{resourceGroupName}} --set virtualMachineProfile.storageProfile.osDisk.diskSizeGb=150` – Elia Grady May 13 '21 at 08:22
-3

1.stop the VM. enter image description here

2.Click the existing disk name. enter image description here

3.Click configuration to resize the disk. enter image description here

Tony Ju
  • 14,891
  • 3
  • 17
  • 31
  • 1
    Hey Tony. The screenshot yoou posted is how to change the disk size of a VM. My query was about VMSS linux setup (Virtual machine scale sets). The right answer is az vmss update -n -g --set virtualMachineProfile.storageProfile.osDisk.diskSizeGb=150 – Gokul Mar 30 '19 at 01:28