Azure Local Expand Disk

Handian Sudianto 6,101 Reputation points
2025-03-27T00:19:02.89+00:00

How we can expand the disk in Azure Local Virtual Machine?

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,036 questions
{count} votes

Accepted answer
  1. Mounika Reddy Anumandla 6,845 Reputation points Microsoft External Staff Moderator
    2025-03-28T05:35:50.47+00:00

    Hi Handian Sudianto,

    Unlike Azure cloud VMs, where you expand disks from the Azure Portal, for Azure Stack HCI, you need to expand the disk at the hypervisor level (Hyper-V) and inside the guest OS.

    If the virtual disk has no storage tiers, you can expand it directly using the Resize-VirtualDisk cmdlet.

    Provide the new size in the -Size parameter.

    Get-VirtualDisk
    

    When you expand the VirtualDisk, the associated Disk follows automatically and is resized too.Animated diagram shows the virtual disk of a volume becoming larger while the disk layer immediately above it automatically becomes larger as a result.

    For more information please see: https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/manage-volumes?tabs=powershell#capacity-in-the-storage-pool

    Hope this helps!

    If the information is helpful, please click ""Accept answer" and upvote.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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