Commit Graph

17 Commits

Author SHA1 Message Date
Jake Howard
c3053e9378 Fix location for sanoid install
This makes it sync up with where the systemd services expect them to be
2021-01-09 21:28:16 +00:00
Jake Howard
decf5176f7 Use systemd rather than cron for sanoid
It's more reliable and easier to get logs
2021-01-09 20:57:47 +00:00
Jake Howard
57d9c9d288 Allow configuring of pools to scrub 2021-01-09 20:52:51 +00:00
Jake Howard
8fe8788458 Move ARC size to defaults so it can be easily changed 2021-01-09 18:24:52 +00:00
Jake Howard
24d11deeae Update ansible-lint
Required a lot of renaming :(
2020-09-26 17:53:47 +01:00
Jake Howard
9a8995f1f8 Use single cron job for pruning and taking snapshots
Less to manage, and less lock contention
2020-08-26 13:02:50 +01:00
Jake Howard
922b688615 Bump ZFS usage to 50% RAM
It's a lot, but should be dealable on most machines
2020-08-23 14:15:09 +01:00
Jake Howard
35266e975d Drive sanoid changes from YAML 2020-08-20 21:47:12 +01:00
Jake Howard
1bcb8f22b1 Fully resolve path to sanoid
Apparently cron didn't like just `sanoid`
2020-08-20 21:24:33 +01:00
Jake Howard
a2e021ac43 Install ZFS on home server 🎉 2020-08-19 21:34:23 +01:00
Jake Howard
63ec7c671a Manually install sanoid
Makes the foundation for a future external role
2020-08-19 18:40:17 +01:00
Jake Howard
efc7a5d7fb Allow arc to be 20% RAM usage 2020-08-18 13:47:48 +01:00
Jake Howard
6716b418d7 Ensure cron tasks are run as the right user
Looks like by default they're installed as the current user, not root. Bad ansible documentation!
2020-08-17 22:29:02 +01:00
Jake Howard
150a34be2f Provide cron flag to sanoid 2020-08-17 13:49:07 +01:00
Jake Howard
91effbcac5 Add ZFS scrub cron job 2020-07-26 22:17:28 +01:00
Jake Howard
6e58b07519 Remove unnecessary quotes 2020-07-26 18:22:43 +01:00
Jake Howard
ebbd2a4015 Install zfs and sanoid 2020-07-26 18:03:09 +01:00