Implement zfs resource #29

Merged
antman merged 43 commits from implement-zfs-resource into main 2026-09-23 04:55:28 +00:00
Owner

Motivation

The server manager needs to configure the zfs pool and file system of the server based on available hdds

Solution

Added ZFS manager as a service. This might not be the right approach long term, but it's viable for now. It might wind up making more sense for the ZFS manager to be a resource.

Also create a crontab file when setting up the ZFS pool to set up the weekly scrub. It's not really possible to test that the cron job is picked up correctly by crond, but we can test that the file has valid cron syntax

### Motivation The server manager needs to configure the zfs pool and file system of the server based on available hdds ### Solution Added ZFS manager as a service. This might not be the right approach long term, but it's viable for now. It might wind up making more sense for the ZFS manager to be a resource. Also create a crontab file when setting up the ZFS pool to set up the weekly scrub. It's not really possible to test that the cron job is picked up correctly by crond, but we can test that the file has valid cron syntax
Implement test manually
Some checks failed
/ test-and-lint (push) Has been cancelled
12f60e2a37
fix username for host
Some checks failed
/ test-and-lint (push) Has been cancelled
c12afc66df
add missing -y
Some checks failed
/ test-and-lint (push) Failing after 6m21s
dc9c8498f1
more time for install
Some checks failed
/ test-and-lint (push) Failing after 9s
2cb89fd870
fix
Some checks failed
/ test-and-lint (push) Has been cancelled
7512addd88
??
Some checks failed
/ test-and-lint (push) Has been cancelled
e556080c8e
nnnnn
Some checks failed
/ test-and-lint (push) Has been cancelled
ba9ffb6915
??
Some checks failed
/ test-and-lint (push) Has been cancelled
bf671224fb
??
Some checks failed
/ test-and-lint (push) Has been cancelled
96dfd6a9b8
wwwww
Some checks failed
/ test-and-lint (push) Has been cancelled
e03f7793fd
??
Some checks failed
/ test-and-lint (push) Has been cancelled
0428be325a
Implement zfsService sketch
Some checks failed
/ test-and-lint (push) Has been cancelled
aeade83670
try creating tank
Some checks failed
/ test-and-lint (push) Has been cancelled
4f974db787
try to make zfs service work when discs are added later
Some checks failed
/ test-and-lint (push) Has been cancelled
368da3ed2c
??
Some checks failed
/ test-and-lint (push) Has been cancelled
442ece7d76
filter out vda
Some checks failed
/ test-and-lint (push) Has been cancelled
5369832b51
hmm
Some checks failed
/ test-and-lint (push) Has been cancelled
f12c6f0be7
cleanup
Some checks failed
/ test-and-lint (push) Has been cancelled
22f6b2e578
fix reboot test
All checks were successful
/ test-and-lint (push) Successful in 2m55s
1297d7ca8e
Create and mount dataset
Some checks failed
/ test-and-lint (push) Has been cancelled
728ce0622d
derp
All checks were successful
/ test-and-lint (push) Successful in 3m9s
984070b5c0
assert dataset has compression
Some checks failed
/ test-and-lint (push) Failing after 30s
801c906019
wwwwwww
Some checks failed
/ test-and-lint (push) Has been cancelled
f18876955c
?
Some checks failed
/ test-and-lint (push) Has been cancelled
95721fec4c
update kernel
All checks were successful
/ test-and-lint (push) Successful in 2m46s
2b4777936f
Add scrub schedule
Some checks failed
/ test-and-lint (push) Failing after 5m23s
5f8884c025
hm
Some checks failed
/ test-and-lint (push) Has been cancelled
d2ed95d126
huh?
Some checks failed
/ test-and-lint (push) Has been cancelled
73cc37df77
??
Some checks failed
/ test-and-lint (push) Has been cancelled
919774704d
?!
Some checks failed
/ test-and-lint (push) Has been cancelled
756ab033d9
?
Some checks failed
/ test-and-lint (push) Has been cancelled
ba66a03607
nnnnnnn
Some checks failed
/ test-and-lint (push) Has been cancelled
1be18e80f2
fix bug
Some checks failed
/ test-and-lint (push) Failing after 2m58s
e77be1405a
e
Some checks failed
/ test-and-lint (push) Has been cancelled
ec561f2900
huh
Some checks failed
/ test-and-lint (push) Has been cancelled
a597f083a8
sssss
Some checks failed
/ test-and-lint (push) Has been cancelled
f11eb84dda
log
Some checks failed
/ test-and-lint (push) Failing after 3m1s
ea9ebd3b04
revert configService
Some checks failed
/ test-and-lint (push) Has been cancelled
dd337f5f85
more time to copy vm image
All checks were successful
/ test-and-lint (push) Successful in 3m11s
0ccfca5e51
w
All checks were successful
/ test-and-lint (push) Successful in 2m55s
dec5f5411f
que?
Some checks failed
/ test-and-lint (push) Has been cancelled
ba227e1cf9
test cron syntax
All checks were successful
/ test-and-lint (push) Successful in 3m2s
2efd8f9d25
removed logs
All checks were successful
/ test-and-lint (push) Successful in 2m54s
1a335b4c85
antman changed title from WIP: Implement zfs resource to Implement zfs resource 2026-09-23 04:55:18 +00:00
antman merged commit 1b31d6244b into main 2026-09-23 04:55:28 +00:00
antman deleted branch implement-zfs-resource 2026-09-23 04:55:28 +00:00
antman referenced this pull request from a commit 2026-09-23 04:55:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kill-the-cloud/server-manager!29
No description provided.