OT: zfs-auto-snap_daily - dataset already exists

tony blue

Well-Known Member
Dec 26, 2017
83
2
48
53
Hallo,

ich habe zum Snapshot meiner Datasets zfs-auto-snapshot installiert.

Das ganze funktioniert so weit ganz gut. Einmal in der Woche erhalte ich allerdings die Fehlermeldung:

cannot create snapshot 'rpool/home@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
cannot create snapshot 'rpool/ROOT@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
cannot create snapshot 'rpool/ROOT/pve-1@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
no snapshots were created
cannot create snapshot 'rpool/home/data1@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
no snapshots were created
cannot create snapshot 'rpool/home/data2@zfs-auto-snap_daily-2020-07-30-2228': dataset already exists
no snapshots were created
...

In der /etc/cron.daily/zfs-auto-snapshot steht

#!/bin/sh

# Only call zfs-auto-snapshot if it's available
which zfs-auto-snapshot > /dev/null || exit 0

exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //



Irgendwie scheint es so, als ob ein zweiter Aufruf von zfs-auto-snapshot erfolgt - oder?

Hat irgendjemand vielleicht einen Tipp für mich, wie ich das herausfinden kann?

Vielen Dank!


Tony