[Bug 291234] periodic/daily/800.scrub: does not initiate a scrub on a new zpool

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Nov 2025 19:36:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291234

--- Comment #5 from Dan Langille <dvl@FreeBSD.org> ---
(In reply to Ed Maste from comment #4)

The background.

* I created a new zpool yesterday.
* Later, Nagios told me the zpool hadn't been scrubbed yet.
* In my head: oh, that will change tonight with the daily scripts run.
* This morning: Oh, wait, why didn't it scrub?
* Which led me to the script and this PR.

Granted: my problem is the Nagios check which doesn't know the difference
between "no scrub" and "just created".

The counter to this PR is:

* just do a scrub and silence the Nagios check
* there's no need to do a scrub on a new zpool (I'd argue that there is every
reason to do a scrub)

-- 
You are receiving this mail because:
You are the assignee for the bug.