The safety review of the first version found it safe for the pool's data and asked for these fixes before it goes on the home server: - zfs_snapshot: no recursive. Every answer gives the dataset's free space and the pool's capacity, and says that the snapshot holds every block deleted or overwritten until it is destroyed by hand. - A command that runs out of time is ended with its whole process group. An act that timed out is answered from the list, or as "outcome unknown", never as "NOT DONE". - The watch runs as the operator account. - The event follower reads ZFS's queue from its start, with a cursor per boot, so the pool's import and any downtime reach the journal once. It writes "dropped N events", kills zpool before waiting for it, and exits non-zero after five failed follows in a row. - Past error counts are a warning, and counts that rise are unhealthy. - The guard test catches .Run(, exec.Command(, exec.CommandContext( and process starts. - The fixtures and the parser follow OpenZFS 2.4.4's own printers: human scan sizes under -p, no iostat section lines, error scrubs, per-vdev rebuild resilvers, paused scrubs. The operator also asked the module to own the scrub. A timer and a service of the module's own run zpool scrub -w -- <pool> from the scrub-pool, scrub-cadence, scrub-day and scrub-time settings. In the same declaration, the distribution's weekly and monthly timers for that pool are held stopped and disabled, so exactly one schedule scrubs it. zfs_scrub shows the schedule and the next run, with any resilver's progress. zfs_scrub_start, zfs_scrub_pause and zfs_scrub_stop act with why. The health check warns of a late or failed scrub and of a running resilver, and is unhealthy for a resilver that finished with errors.
39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
pool: rpool
|
|
state: ONLINE
|
|
status: Some supported and requested features are not enabled on the pool.
|
|
The pool can still be used, but some features are unavailable.
|
|
action: Enable all features using 'zpool upgrade'. Once this is done,
|
|
the pool may no longer be accessible by software that does not support
|
|
the features. See zpool-features(7) for details.
|
|
scan: scrub repaired 0B in 00:04:11 with 0 errors on Sun Jul 12 00:28:12 2026
|
|
config:
|
|
|
|
NAME STATE READ WRITE CKSUM
|
|
rpool ONLINE 0 0 0
|
|
nvme-Samsung_SSD_970_EVO_Plus_500GB_S4EVNX0R200001-part2 ONLINE 0 0 0
|
|
|
|
errors: No known data errors
|
|
|
|
pool: tank
|
|
state: ONLINE
|
|
scan: scrub repaired 0B in 1 days 02:10:05 with 0 errors on Mon Sep 14 02:34:06 2026
|
|
config:
|
|
|
|
NAME STATE READ WRITE CKSUM
|
|
tank ONLINE 0 0 0
|
|
raidz2-0 ONLINE 0 0 0
|
|
ata-WDC_WD120EFBX-68B0EN0_D7JA0001 ONLINE 0 0 0
|
|
ata-WDC_WD120EFBX-68B0EN0_D7JA0002 ONLINE 0 0 0
|
|
ata-WDC_WD120EFBX-68B0EN0_D7JA0003 ONLINE 0 0 0
|
|
ata-WDC_WD120EFBX-68B0EN0_D7JA0004 ONLINE 0 0 0
|
|
logs
|
|
mirror-1 ONLINE 0 0 0
|
|
nvme-Samsung_SSD_980_PRO_1TB_S5P2NG0R100001-part1 ONLINE 0 0 0
|
|
nvme-Samsung_SSD_980_PRO_1TB_S5P2NG0R100002-part1 ONLINE 0 0 0
|
|
cache
|
|
nvme-Samsung_SSD_980_PRO_1TB_S5P2NG0R100001-part2 ONLINE 0 0 0
|
|
spares
|
|
ata-WDC_WD120EFBX-68B0EN0_D7JA0009 AVAIL
|
|
|
|
errors: No known data errors
|