[GH-ISSUE #73] Is it safety to use cv4pve-autosnap in conjunction with Storage Replication (pvecm)? #71

Closed
opened 2026-02-26 17:44:16 +03:00 by kerem · 7 comments
Owner

Originally created by @GusevVictor on GitHub (Jan 24, 2023).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/73

Hi all!
I'm very like to use cv4pve-autosnap for years. In all time when I use it, I have a question about safety use it with Storage Replication (pvecm).

For example:

  1. case when cv4pve-autosnap runs for create a new snap and del some old snap while pvecm (send diff/full snapshot)
  2. case when pvecm runs for create a new or del old diff snap while cv4pve-autosnap want to runs too.

There is vm lock, but I have doubt about that will be work good.

It there any dangerous when use both tools?

Originally created by @GusevVictor on GitHub (Jan 24, 2023). Original GitHub issue: https://github.com/Corsinvest/cv4pve-autosnap/issues/73 Hi all! I'm very like to use cv4pve-autosnap for years. In all time when I use it, I have a question about safety use it with Storage Replication (pvecm). **For example:** 1. case when cv4pve-autosnap runs for create a new snap and del some old snap while pvecm (send diff/full snapshot) 2. case when pvecm runs for create a new or del old diff snap while cv4pve-autosnap want to runs too. There is vm lock, but I have doubt about that will be work good. It there any dangerous when use both tools?
kerem closed this issue 2026-02-26 17:44:16 +03:00
Author
Owner

@franklupo commented on GitHub (Jan 24, 2023):

what command do you use with pvecm?

<!-- gh-comment-id:1402035710 --> @franklupo commented on GitHub (Jan 24, 2023): what command do you use with pvecm?
Author
Owner

@GusevVictor commented on GitHub (Jan 24, 2023):

what command do you use with pvecm?

First of all: Thank a lot for your answer.

I use gui of proxmox replication. I mean this one:
sync

<!-- gh-comment-id:1402053170 --> @GusevVictor commented on GitHub (Jan 24, 2023): > what command do you use with pvecm? First of all: Thank a lot for your answer. I use gui of proxmox replication. I mean this one: ![sync](https://user-images.githubusercontent.com/7081357/214323157-396c262b-c239-4f2d-9c1d-6bdc2b509e48.png)
Author
Owner

@franklupo commented on GitHub (Jan 24, 2023):

Hi,
this is replication vm. cv4pve-autosnap uses the API and there is no problem

Best regards

<!-- gh-comment-id:1402073661 --> @franklupo commented on GitHub (Jan 24, 2023): Hi, this is replication vm. cv4pve-autosnap uses the API and there is no problem Best regards
Author
Owner

@GusevVictor commented on GitHub (Jan 24, 2023):

Thank you so much. Yes, I understand about API. Below of the API resides zfs layer and I don't know what about when zfs send snapshot and during this cv4pve-autosnap send by API - "HEY! We need delete this snap." - Is there possible to destroy of zfs tank at all? :)

<!-- gh-comment-id:1402294820 --> @GusevVictor commented on GitHub (Jan 24, 2023): Thank you so much. Yes, I understand about API. Below of the API resides zfs layer and I don't know what about when zfs send snapshot and during this cv4pve-autosnap send by API - "HEY! We need delete this snap." - Is there possible to destroy of zfs tank at all? :)
Author
Owner

@GusevVictor commented on GitHub (Jan 27, 2023):

Will be glad for any update :)

<!-- gh-comment-id:1406319628 --> @GusevVictor commented on GitHub (Jan 27, 2023): Will be glad for any update :)
Author
Owner

@turrini commented on GitHub (Feb 5, 2023):

Don't worry, it will be safe. The PVE API serializes all commands and organizes them to avoid conflicts (snapshoting while replicating is an example). I've been using autosnap for months on 8 nodes, replicating vms between them.

<!-- gh-comment-id:1418136971 --> @turrini commented on GitHub (Feb 5, 2023): Don't worry, it will be safe. The PVE API serializes all commands and organizes them to avoid conflicts (snapshoting while replicating is an example). I've been using autosnap for months on 8 nodes, replicating vms between them.
Author
Owner

@GusevVictor commented on GitHub (Feb 6, 2023):

Don't worry, it will be safe. The PVE API serializes all commands and organizes them to avoid conflicts (snapshoting while replicating is an example). I've been using autosnap for months on 8 nodes, replicating vms between them.

Thank a lot. I have some error messages like this one:
command 'zfs snapshot tank/vm-113-disk-1@__replicate_113-0_1675396830__' failed: got timeout

Think this is no so dangerous.

<!-- gh-comment-id:1418681505 --> @GusevVictor commented on GitHub (Feb 6, 2023): > Don't worry, it will be safe. The PVE API serializes all commands and organizes them to avoid conflicts (snapshoting while replicating is an example). I've been using autosnap for months on 8 nodes, replicating vms between them. Thank a lot. I have some error messages like this one: ` command 'zfs snapshot tank/vm-113-disk-1@__replicate_113-0_1675396830__' failed: got timeout` Think this is no so dangerous.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-autosnap#71
No description provided.