Share via

Disk resize issues

Asim Malik 0 Reputation points
2026-02-17T14:16:15.6166667+00:00

My disk size is 127 while i tried to increase it . I received the notification taht it has been increased to 256 but when i use the server it is still showing 127

Azure Disk Storage
Azure Disk Storage

A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.

{count} votes

2 answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 17,906 Reputation points MVP Volunteer Moderator
    2026-02-19T08:14:38.07+00:00

    Hello @Asim Malik,

    If you’ve attempted to increase your disk size from 127 GiB to 256 GiB but it still shows as 127 GiB when using the server, there are a few steps you may need to follow to ensure the new size is recognized:

    1. Expand the Linux Filesystem: If the disk size is recognized but the filesystem hasn’t been expanded to utilize the new space, you may need to expand the filesystem as well. This can often be done using tools like growpart and xfs_growfs for XFS filesystems, or similar commands for other filesystem types.

    Expand a disk partition and filesystem

    1. Expand the volume in the Windows operating system

    If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

    0 comments No comments

  2. Vallepu Venkateswarlu 5,720 Reputation points Microsoft External Staff Moderator
    2026-02-17T14:28:18.46+00:00

    Hi @ Asim Malik,

    Welcome to Microsoft Q&A Platform.

    I understand that you received a notification indicating the VM disk size was increased to 256 GB, but it is still showing as 127 GB.

    Please note that after resizing, updating the VM may take 10 minutes to complete. Once the resize operation finishes, restart the VM.

    User's image

    Allow up to 10 minutes for the updated disk size to be reflected in both Windows and Linux VMs. After restarting the VM, please check the disk size again. If it still shows the previous size, verify it using PowerShell

    $disk= Get-AzDisk -ResourceGroupName $rgName -DiskName 
    $diskName $disk.DiskSizeGB
    

    I reproduced the same issue in my lab and observed the same behavior before restarting the VM.

    I attempted to change the disk size from 127 GB to 256 GB and received a notification indicating that the disk was successfully updated. However, the disk size remained at 127 GB.

    User's image

    After changing the disk size, it remained the same and was not updated to 256 GB

    User's image

    After starting the virtual machine, the disk size was updated to 256 GB.

    Note: To resize the VM, it must be in a deallocated state.
    User's image

    Ref: Expand with Ultra Disks and Premium SSD v2

    Resize a managed disk by using PowerShell

    I hope this information helps resolve your issue. Please feel free to ask if the provided solution does not help or if you have any additional questions.

    Please210246-screenshot-2021-12-10-121802.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

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.