Created
July 26, 2024 08:45
-
-
Save geraldurbas/a6b860bd9292219c826edfcd60b079fa to your computer and use it in GitHub Desktop.
ZFS Reclaim space used by too many or often changed snapshots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zfs list -t snapshot -o name -S creation Pool/FSName | tail -n +16 | xargs -n 1 zfs destroy -vr | |
via | |
https://serverfault.com/questions/340837/how-to-delete-all-but-last-n-zfs-snapshots |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment