Take snapshot of striped volume

Mr. B 26 Reputation points
2021-03-19T21:49:02.25+00:00

We stripe 3 P30 managed disks using storage spaces to host ~1.2TB database file. We were wondering how can we take consistent snapshots of all the disks in a striped volume.

I found this MSDN doc that has general description but it lacks an example. Is there any example published that I can follow or any pointer that demonstrates taking consistent snapshots of striped volume?

https://learn.microsoft.com/en-us/azure/virtual-machines/backup-and-disaster-recovery-for-azure-iaas-disks#create-snapshots-while-the-vm-is-running

Questions

  • How to freeze all the disk?.
  • How to flush all the pending writes?
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,085 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.
571 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. deherman-MSFT 33,141 Reputation points Microsoft Employee
    2021-03-22T16:44:09.35+00:00

    @Mr. B
    Apologies for the delay responding here and any inconvenience this caused. To simplify this I recommend using Azure VM backup. For Windows VMs, the Backup service coordinates with VSS to take an app-consistent snapshot of the VM disks. By default, Azure Backup takes a full VSS backup (it truncates the logs of application such as SQL Server at the time of backup to get application level consistent backup).

    If you are certain you want to create a manual process let me know which OS and Application you are working with. Once I have this I can look into which specific methods you could use to freeze the IO.

    -------------------------------

    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.

    0 comments No comments

  2. Mr. B 26 Reputation points
    2021-03-22T20:15:01.717+00:00

    @deherman-MSFT , thank you for the response.

    Unfortunately for our scenario we need to take the snapshots of the DISK on demand to mitigate a live site scenario.
    Our service (AD/LDS) runs on Windows OS and our application responsible for orchestration of buildout is implemented in C#.

    0 comments No comments