I need to Resize disk space on OS DISK

jasdeep oberoi 20 Reputation points
2025-01-06T12:39:17.77+00:00

i need to resize my OS disk from 127 GB to 252 GB , how to proceed

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
657 questions
{count} votes

Accepted answer
  1. Abiola Akinbade 21,700 Reputation points
    2025-01-06T13:16:39.5+00:00

    Hello jasdeep oberoi,

    Thanks for your question. You will need to follow the general steps below:

    • In the Azure portal, go to the virtual machine in which you want to expand the disk. Select Stop to deallocate the VM.
    • In the left menu under Settings, select Disks.
    • Select the disk
    • Click Size + performance and select the new SKU
    • You can proceed to restart the VM.
    • Once these are done, also check extend the OS partition.

    These are properly documented here: https://zcusa.951200.xyz/en-us/azure/virtual-machines/windows/expand-disks#resize-a-managed-disk-in-the-azure-portal

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Nandamuri Pranay Teja 160 Reputation points Microsoft Vendor
    2025-01-06T14:08:20.0733333+00:00

    Hello jasdeep 

    Welcome to Microsoft Q&A Forum. Thanks for posting your query here!

    I understand that you would like to resize your OS disk from 127 GB to 252 GB.

    Please find the below steps in Azure portal to Resize your VM. Make sure to stop the VM before performing the below steps. 

    • In the Azure portal, go to the virtual machine in which you want to expand the disk.  Select Stop to deallocate the VM.
    • In the left menu under Settings, select Disks.
    • In the VM overview, go to Disks under Settings.
    • Select the OS disk.
    • Click Size + performance.
    • Enter the new size (252 GB).
    • Click Resize. In the VM overview, click Start.  

    Important Notes:

    • Data Loss: Ensure you have a recent backup of your VM before resizing the disk, as there's a slight risk of data loss during the process.
    • OS Considerations: The steps might vary slightly depending on the operating system (Windows, Linux) and the specific version.
    • Disk Type: The resizing process might differ slightly depending on the type of disk (standard, premium, etc.).

    By following these steps, you should be able to successfully resize your Azure VM's OS disk from 127 GB to 252 GB.
    Please refer to the link for your reference: https://zcusa.951200.xyz/en-us/azure/virtual-machines/windows/expand-disks
    Hope this helps in resolving the issue.


    1 person found this answer helpful.

  2. Andreas Baumgarten 115.9K Reputation points MVP
    2025-01-06T13:11:54.6833333+00:00

    Hi @jasdeep oberoi ,

    first you have to extend the managed OS Disk of the VM in the Azure Portal: Resize a managed disk in the Azure portal

    In the second step you have to extend the OS partition in the OS of VM: Expand the volume in the operating system


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten


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.