Skip to content

Instantly share code, notes, and snippets.

View poikilotherm's full-sized avatar
🏠
Working from home

Oliver Bertuch poikilotherm

🏠
Working from home
View GitHub Profile
@poikilotherm
poikilotherm / scrub-all.sh
Last active April 14, 2017 20:37 — forked from morph027/scrub-all.sh
scrub all zfs on linux pools sequentially (with option to exclude pools)
#!/bin/bash
##
## --exclude takes one pool or a comma seperated list of pools
##
## Example: scrub-all.sh --exclude rpool
## Example: scrub-all.sh --exclude rpool,tank-foo,tank-bar
##
EMAIL_RECIPIENT="foo@bar.com"