Methods for Shrinking Disk Size in Azure

KindCompute-6524 95 Reputation points
2024-07-22T06:59:37.62+00:00

Increasing disk size is easy, but is there any method to shrink disk size when we no longer require large disks? This is applicable in different cases. For example, I have a Linux VM on VMware with a 1024 GB disk. When I transfer it to Azure using Veeam Backup & Replication software, I see the VM disk on Azure is 1025 GB, and it picks a 2048 GB disk on Azure as the OS disk, which incurs unnecessary costs.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,870 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
631 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 37,076 Reputation points Microsoft Employee
    2024-07-22T17:55:13.46+00:00

    @KindCompute-6524

    Unfortunately there is not an automatic way to decrease the size of an Azure Disk. The recommended method is to create a new disk and copy the contents, you will also need to shrink the partition before copying. With the OS disk there is some added complexity of this. Please check this thread where we have some details on how this might be accomplished.

    How do I Reduce OS disk Size


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

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.