question

BharatMulupuru-2090 avatar image
0 Votes"
BharatMulupuru-2090 asked ·

Take snapshot of striped volume


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://docs.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-machinesazure-managed-disks
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered ·

@BharatMulupuru-2090
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.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BharatMulupuru-2090 avatar image
0 Votes"
BharatMulupuru-2090 answered ·

@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#.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.