[SOLVED] Disable ZFS autosnapshot for a pool

sharbich

Member
Nov 7, 2024
39
1
8
Hello everyone,
i'm trying to disable autosnapshot for the "tank" pool. I tried doing this with the following command.
Code:
zfs set com.sun:auto-snapshot-desc=no tank
unfortunately, that doesn't work. Can you help me? Regards, Stefan
 
Last edited:
Proxmox VE aktiviert standardmäßig keinen Auto-Snapshot für einen Pool.
That's right. I have the "zfs-auto-snapshot" package installed. But I don't want to delete it because I need it for my "rpool" pool.
 
Last edited:
Code:
zfs set com.sun:auto-snapshot=false tank
That worked. Thank you very much.
I read today that it's recommended to switch from "zfs-auto-snapshot" to "cv4pve-autosnap," because then the snapshots are displayed in the Proxmox WebUI. Since "cv4pve-autosnap" accesses Proxmox via the API. What do you think?
 
Last edited:
Ich habe heute gelesen, dass empfohlen wird von „zfs-auto-snapshot“ zu „cv4pve-autosnap“ zu wechsel, weil dann die Snapshot im Proxmox WebUI angezeigt werden. Da „cv4pve-autosnap“ per API auf Proxmox zugreift. Was meint Ihr dazu?
Each tool has it own benefits. But yes, I am using cv4pve for exactly that reason. While I am absolutely able to handle Desaster recovery with naked replicated snapshots the integration in the PVE logic and in the GUI is really convenient! The other important aspect is that it works cluster-wide.

Slightly OT: what I really miss in the Gui is a way to "Remove" several snapshots at once. Clicking a trillion times to remove a hundred snapshots is... cumbersome, and I do that kind of task on the CLI instead - which then may be much more risky. Because of this problem I have only a handful hourly and two daily snapshots. Everything else is on PBS.
 
I've stuck with the "zfs-auto-snapshot" tool.
The reason is that I can't take snapshots of RAW devices with the "cv4pve" tool.