Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2013 07:52:58 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        Zaphod Beeblebrox <zbeeble@gmail.com>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: ZFS regimen: scrub, scrub, scrub and scrub again.
Message-ID:  <50FCE5CA.7080006@fsn.hu>
In-Reply-To: <CACpH0Mf6sNb8JOsTzC%2BWSfQRB62%2BZn7VtzEnihEKmEV2aO2p%2Bw@mail.gmail.com>
References:  <CACpH0Mf6sNb8JOsTzC%2BWSfQRB62%2BZn7VtzEnihEKmEV2aO2p%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 01/20/13 23:26, Zaphod Beeblebrox wrote:
>
> 1) a pause for scrub... such that long scrubs could be paused during
> working hours.
>
>
While not exactly pause, but isn't playing with scrub_delay works here?

vfs.zfs.scrub_delay: Number of ticks to delay scrub

Set this to a high value during working hours, and set back to its 
normal (or even below) value off working hours. (maybe resilver delay, 
or some other values should also be set, I haven't yet read the relevant 
code)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50FCE5CA.7080006>