How to expand sql datadisk

Oscar Moyano 66 Reputation points
2023-01-10T18:16:22.473+00:00

Hello everyone.

I have an VM sql server with a DATADISK of 128GB 277990-image.png

I need to extend the disk and I see this:

278061-image.png

278071-image.png

When I try to add for example 32Gb I obtain an error: 278042-image.png

So...I need first to modify my Datadisk 128GB to 256gb? (not possible to add only 32 gb?)

Thanks a lot

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

Accepted answer
  1. deherman-MSFT 23,591 Reputation points Microsoft Employee
    2023-01-10T19:04:51.353+00:00

    @Oscar Moyano I understand that you wish to add 32GiB to your SQL VM data disk but are facing the above error.

    If you navigate directly to the disk and add 32GiB in the Custom disk size field, it is possible. However, you will be charged the same rate for your provisioned disk, regardless of how much of the disk space is being used. For example, a 160 GiB disk is provisioned on a 256 GiB disk, so you would be billed for the 256 GiB provisioned. If you need to expand the disk I recommend moving directly to 256 GiB since 160 GiB will be billed the same. You can read more about Performance tiers for managed disks here.

    278091-image.png

    Hope this helps! Let me know if you still have questions or need further assistance.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    No comments

1 additional answer

Sort by: Most helpful
  1. Oscar Moyano 66 Reputation points
    2023-01-10T19:24:50.907+00:00

    Thanks I understand!!

    No comments