Verwaiste und hängende Snapshotketten erkennen #1
Labels
No labels
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bashclub/checkzfs#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Anlass: Bugreport bei bashclub-zsync – ein alter
zfs-auto-snap_zsync-miyagi-…auf der Quelle hat das Löschen auf dem Ziel blockiert, das Ziel hatte 50 statt 14 Snapshots pro Dataset. checkzfs hat nicht gewarnt, weil--maxsnapshots 150,165dafür zu hoch war.Idee: Snapshots je Dataset zu Ketten gruppieren (Name ohne Datumsteil, z. B.
zsync-miyagi-*,zfs-auto-snap_daily-*) und als Service melden:__replicate_…, manuelle Snapshots, andere Replikationen)Sofortmaßnahme ohne Code:
checkzfs_max_snapshot_countpassend zur Rotation setzen, bei keep=14 z. B.20,25.