How to expand the capacity of data drive disks in virtual machines?

Huang, Winston-HR 300 Reputation points
2023-10-23T08:51:51.4466667+00:00

How to expand the capacity of data drive disks in virtual machines? Will expanding this action result in the loss of data and related authorization in the drive disk?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,588 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vinodh247 13,801 Reputation points
    2023-10-23T09:53:25.26+00:00

    hi Huang, Winston-HR:

    Thanks for reaching out to Microsoft Q&A.

    Yes you can increase the disk without any data loss. Only when you try to shrink existing disk there will be data loss.

    Unless you use Expand without downtime, expanding a data disk requires the VM to be deallocated. Shrinking an existing disk isn’t supported and may result in data loss. After expanding the disks, you need to Expand the volume in the operating system to take advantage of the larger disk.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.

    0 comments No comments

0 additional answers

Sort by: Most helpful