As peer the title, I have a host (running Podman/Docker Containers) that is periodically hitting 100% ZFS Pool Usage due to the Snapshots that keep getting created automatically on the Host.
I enabled TRIM on the GUEST ZFS Pool (yes ... I'm running ZFS in the GUEST on top of a ZVOL that Proxmox VE manages on the HOST), but I keep hitting 100% Zpool Usage on the HOST (0B free left).
All VMs fail (expectably) with "io-error" on all VMs. They are left "on" but cannot SSH or do anything about it.
The only solution is to periodically delete ALL snapshots for the affected VM (e.g. `rpool/data/vm-101-disk-1@zfs-auto-snap_daily-2024-04-24-0425`, but also the ones that I create manually e.g. in case of Proxmox VE Host Upgrades etc) on the HOST and reboot Proxmox VE.
Is there a better way to handle this ?
Maybe it's to go away from `zfs-auto-snapshot` and rather use `sanoid` with `syncoid` ?
And in both cases I guess it's possible (and recommended) to set an exclusion rule on the Host for creating the Snapshots in the first place, since anyways the guest already does so.
What's the best practice in this regard ?
And why isn't `zed` / `zfs-zed` sending in any warnings when the Pool is [almost] Full ? Is it possible to configure it to do so ?
Thank you for your help .
I enabled TRIM on the GUEST ZFS Pool (yes ... I'm running ZFS in the GUEST on top of a ZVOL that Proxmox VE manages on the HOST), but I keep hitting 100% Zpool Usage on the HOST (0B free left).
All VMs fail (expectably) with "io-error" on all VMs. They are left "on" but cannot SSH or do anything about it.
The only solution is to periodically delete ALL snapshots for the affected VM (e.g. `rpool/data/vm-101-disk-1@zfs-auto-snap_daily-2024-04-24-0425`, but also the ones that I create manually e.g. in case of Proxmox VE Host Upgrades etc) on the HOST and reboot Proxmox VE.
Is there a better way to handle this ?
Maybe it's to go away from `zfs-auto-snapshot` and rather use `sanoid` with `syncoid` ?
And in both cases I guess it's possible (and recommended) to set an exclusion rule on the Host for creating the Snapshots in the first place, since anyways the guest already does so.
What's the best practice in this regard ?
And why isn't `zed` / `zfs-zed` sending in any warnings when the Pool is [almost] Full ? Is it possible to configure it to do so ?
Thank you for your help .
Last edited: