Data disk space is low

Deena Sridharan 0 Reputation points
2025-07-30T01:10:39.7033333+00:00

Action is needed immediately to prevent data/application issues.

Our SQL data drive is getting full; we have increased the VM to resize the disk but still the vm shows the same size. And the SQL is almost full.

SQL Server on Azure Virtual Machines
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jerald Felix 4,530 Reputation points
    2025-07-30T02:16:03.1066667+00:00

    Hi Deena,

    Thank you for highlighting this urgent issue. When increasing your VM size doesn't free up SQL disk space, consider:

    Checking for unused files or backup logs in your SQL Server that may be safely deleted.

    Shrinking or reorganizing the SQL database files if possible, but use this step sparingly as it may cause fragmentation.

    Reviewing auto-growth settings to ensure the database files can expand as needed.

    If the VM still shows the disk as full after increasing its size, make sure the OS recognizes the new space; sometimes, a manual partition extension within the OS is required.

    If these steps don’t resolve the issue, consult with your infrastructure team to ensure VM storage changes have been applied correctly at the hypervisor layer.

    Best regards,

    Jerald Felix


  2. TP 131.7K Reputation points Volunteer Moderator
    2025-07-30T09:44:54.93+00:00

    Hi Deena,

    I assume you used Azure Marketplace image to create your SQL Server VM. Please let me know if my assumption is incorrect.

    Have you increased the size of your SQL Data drive?

    To do this you would navigate to list of SQL Server virtual machine resources using link below, then click on the one for your VM:

    https://portal.azure.com/#browse/Microsoft.SqlVirtualMachine%2FSqlVirtualMachines

    NOTE: A "SQL Server virtual machine" resource is not the same as a "virtual machine" resource. This is important distinction because if you simply navigate to your VM resource you will not see correct options for expanding your disk.

    On SQL Server virtual machine resource, click Settings -- Storage on left. Next click on Management tab on right, then click Configure button next to your data drive on right.

    User's image

    On the Extend Data drive screen, you can accept the default (add another disk) or make changes to size/quantity. Click Apply and Yes when you are ready to make changes. In below screenshots, it shows adding one additional 1024 Gib disk.

    User's image

    User's image

    When you click Yes, it will attach new data disk to the VM, add it to existing storage pool that contains data virtual disk (F:), and extend size of data virtual disk. End result is F: drive inside of the VM will now have additional free space.

    User's image

    Please see article below for more details:

    Configure storage for SQL Server on Azure VMs

    https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/storage-configuration?view=azuresql&tabs=windows2016#existing-vms

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


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.