Looking for a consultant to expand the OS disk of my VM

Stephen Pagana 20 Reputation points
2026-06-02T14:10:49.2066667+00:00

I'd like to contract a consultant to expand the OS disk for my VM. Anyone have a recommendation?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


4 answers

Sort by: Most helpful
  1. Stephen Pagana 20 Reputation points
    2026-08-06T17:00:01.86+00:00

    I will schedule whenever anyone is available to assist. Please reach out ASAP. ******@mtcrecovery.com or 6174-921-5791

    Was this answer helpful?

    0 comments No comments

  2. Stephen Pagana 20 Reputation points
    2026-07-29T18:56:10.3766667+00:00

    Can someone please reach out to me ASAP and schedule time to perform the upgrade.

    ******@mtcrecovery.com

    617-921-5791

    Was this answer helpful?


  3. Manish Deshpande 7,815 Reputation points Microsoft External Staff Moderator
    2026-06-18T13:39:08.6+00:00

    Hello @Stephen Pagana

    You actually don't need a consultant for this! Expanding an OS disk on an Azure VM is a well-supported, self-service operation you can do entirely from the Azure portal or CLI.
    It's a two-step process: resize the disk in Azure first, then extend the volume inside your OS. Here's exactly how to do it:

    Before you start — take a snapshot

    This takes 2 minutes and gives you a safety net in case anything goes sideways:

    Portal: VM → Disks → click OS disk → Snapshots → Create

    az snapshot create \
      --resource-group <your-rg> \
      --name <snapshot-name> \
      --source <os-disk-name>
    

    Step 1 — Deallocate the VM (brief downtime required for OS disks)

    Unlike data disks, OS disk expansion does require the VM to be stopped and deallocated — a plain shutdown from inside the OS isn't enough.

    Portal: VM → Overview → Stop (choose "Deallocate")

    az vm deallocate --resource-group <your-rg> --name <vm-name>
    

    Step 2 — Resize the disk in Azure

    Portal: VM → Disks → click on the OS disk → Size + Performance → pick your new size → Resize

    az disk update \
      --resource-group <your-rg> \
      --name <os-disk-name> \
      --size-gb <new-size>     # e.g. 256
    

    Maximum supported OS disk size is 4,095 GB. And note — you can only go bigger, never smaller.

    Then restart the VM:

    az vm start --resource-group <your-rg> --name <vm-name>
    

    Step 3 — Extend the volume inside the OS

    Azure resizing the disk doesn't automatically expand the partition — you still need to tell the OS to use the new space.

    For Windows (via PowerShell after RDP'ing in):

    # Extend C: drive to use all available space
    $maxSize = (Get-PartitionSupportedSize -DriveLetter C).SizeMax
    Resize-Partition -DriveLetter C -Size $maxSize
    # Confirm
    Get-Partition -DriveLetter C | Select-Object DriveLetter, @{Name="SizeGB";Expression={[math]::Round($_.Size/1GB,2)}}
    

    Open Disk Management → right-click C: → "Extend Volume" and follow the wizard.

    Expand virtual hard disks on a Windows VM
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/expand-disks

    # Identify your OS disk device (usually /dev/sda or /dev/sdc)
    lsblk
    # Extend the partition (replace sda and 1 with your device/partition)
    sudo growpart /dev/sda 1
    # Resize the filesystem
    # For ext4:
    sudo resize2fs /dev/sda1
    # For XFS (common on RHEL/CentOS):
    sudo xfs_growfs /
    # Verify
    df -h
    

    Note: On Ubuntu 16.04+, cloud-init handles the filesystem resize automatically after a reboot you may not need to run those commands at all.

    Expand virtual hard disks on a Linux VM
    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks

    Recap :

    | Snapshot > Protect your data first.

    | Deallocate VM > Required for OS disk (brief downtime)

    | Resize disk > Portal or CLI — pick your new size

    | Start VM > Bring it back up

    | Extend partition > Windows: PowerShell / Disk Mgmt. Linux: growpart + resize2fs

    The whole process typically takes under 10 minutes.

    References :

    1.Expand OS disk – Windows
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/expand-disks

    2.Expand OS disk – Linux
    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/expand-disks
    3.Create a snapshot of a disk
    https://learn.microsoft.com/en-us/azure/virtual-machines/snapshot-copy-managed-disk

    Thanks,
    Manish.

    Was this answer helpful?


  4. AI answer

    2026-06-02T14:11:05.9533333+00:00

    Expanding the OS disk of an Azure VM is a straightforward operation and typically does not require a consultant.

    For a Linux VM:

    1. Ensure a backup of the VM or at least the OS disk, as recommended before disk expansion.
    2. In Azure, increase the size of the OS disk (up to 4,095 GiB, ensuring the partition table type—MBR or GPT—supports the new size).
    3. For Ubuntu 16.x and newer, after resizing the OS disk and restarting the VM, cloud-init automatically expands the root partition and filesystem to use the new space, provided there is free contiguous space on the root disk.
    4. Verify the new filesystem size inside the VM, for example with:
         df -Th
      

    For a Windows VM:

    1. Ensure a backup of the VM or OS disk.
    2. Resize the managed disk in the Azure portal:
      • Go to the VM → Stop (deallocate) if not using the “Expand without downtime” path.
      • Go to Disks → select the OS disk → Size + performance.
      • Choose a larger size (up to 4,095 GB for OS disks) and select Resize.
    3. Start the VM and expand the volume inside Windows so the OS can use the additional space.

    If assistance is still preferred, look for Azure consultants or partners who specifically list experience with Azure Virtual Machines and disk management, but the documented steps above are the standard and supported way to expand OS disks.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.