A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
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.
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.
After changing the disk size, it remained the same and was not updated to 256 GB
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.
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.
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.