[Bug 261855] /etc/periodic/daily/800.scrub-zfs is using `zpool history`

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Mar 2022 19:13:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261855

--- Comment #1 from Lapo Luchini <lapo@lapo.it> ---
Created attachment 232679
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232679&action=edit
first attempt at a patch

This patch solves my problem with "zpool history" being too short under heavy
replication usage.

Does not currently support pool with zero scrubs executed on it and some more
refinement is certainly needed, but "works for me" right now.

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