Skip to content

Instantly share code, notes, and snippets.

@keepitsimple
Created August 13, 2023 11:40
Show Gist options
  • Save keepitsimple/64fc31eb3624dba996b3092075209328 to your computer and use it in GitHub Desktop.
Save keepitsimple/64fc31eb3624dba996b3092075209328 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 remove all shapshots in the bpool
zfs list -t snapshot -r | grep auto | cut -f1 -d' ' | xargs -n 1 sudo zfs destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment