How to increase disk size on a Azure SQL VM server?

X-Box-11-2021 385 Reputation points
2025-03-18T22:58:31.0933333+00:00

Hi All,

Yesterday, I was asked to increase disk size on a VM in Azure. I’ve done that many times so in terms of taken steps I didn’t do anything new.

  1. Stopped a VM.
  2. Resized the disk.
  3. Started VM.

When I opened Disk Management to my surprise I found that the disk I was need to increase remained unchanged. Instead another disk called SQLVMStoragePool1 was increased and it is showing as a storage pool. After doing some search I found that the VM was provisioned as an SQL Server 2022 on Windows Server 2022 in Azure Market Place that seems by default attaches that storage pool.

The issue is I can’t resize the disk that is running out of space because it is not listed under VM \ Disks in Azure portal.

If someone knows how to do that please advise.

Thanks.

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

2 answers

Sort by: Most helpful
  1. chrischin 915 Reputation points Microsoft Employee
    2025-03-19T13:25:44.4866667+00:00
    • It is possible that Disk 4 is an unmanaged disk and that is why it does not show in the Azure Portal VM Disks screen. You could look through your Storage Accounts for blobs that are .vhd files.
    • Is this SQL on IaaS deployment part of a Windows Failover Cluster? If so, Disk 4 could be a cluster drive that is currently owned by one of the other members of the SQL cluster. You could check by seeing if Windows Failover Cluster role is installed and if the Windows Failover Cluster manager app is installed. Running it would show you any cluster disks.
    • Last thought is that it is a Shared Disk as described here - https://learn.microsoft.com/en-us/azure/virtual-machines/disks-shared-enable?tabs=azure-portal

  2. X-Box-11-2021 385 Reputation points
    2025-03-28T20:27:22.04+00:00

    I contacted MS Azure support team and finally have the steps to address the issue.

    In my case after I resized the data disk which triggered creation of storage pool I had two options:

    1. Attach another disk and add it to the existing one. In this case I would get the sum of the current data disk size + new data disk size.
    2. Attach another data disk, mark the current disk as retired and then it out of the storage pool.

    I hope this will be helpful for someone in the future.


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.