How proxmox makes zfs snapshots on vm with several disks ?

Morphushka

Active Member
Jun 25, 2019
49
5
28
35
Syberia
Hello. pve-manager/6.2-4/9824574a (running kernel: 5.4.34-1-pve)

I have VM with 2 disks:
mega/vm-101-disk-0
mega/vm-101-disk-1

ZFS docs says:
"Recursive snapshots are created quickly as one atomic operation. The snapshots are created together (all at once) or not created at all. The benefit of atomic snapshot operations is that the snapshot data is always taken at one consistent time, even across descendant file systems."
for example: zfs snapshot -r tank/vm@now
but it require extra dataset as parent (vm for case above). Proxmox create all zvol in root pool level.
So, when I use snapshot from gui it creates 2 disks snapshots.

So, here is question: how prox doing it ? Are they really taken at one consistent time, or they are created sequence ?
Thanks!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!