From owner-freebsd-hackers@FreeBSD.ORG Mon Jan 21 07:02:56 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C14442E8; Mon, 21 Jan 2013 07:02:56 +0000 (UTC) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.freebsd.org (Postfix) with ESMTP id 21EF8E54; Mon, 21 Jan 2013 07:02:55 +0000 (UTC) Received: by people.fsn.hu (Postfix, from userid 1001) id E6FE9F8FFE4; Mon, 21 Jan 2013 07:53:01 +0100 (CET) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MF-ACE0E1EA [pR: 6.5807] X-CRM114-CacheID: sfid-20130121_07525_18F2FEA6 X-CRM114-Status: Good ( pR: 6.5807 ) X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Mon Jan 21 07:53:01 2013 X-DSPAM-Confidence: 0.7600 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 50fce5cd875961076684440 X-DSPAM-Factors: 27, From*Attila Nagy , 0.00010, wrote+>, 0.00217, >+>, 0.00365, >+>, 0.00365, In-Reply-To*mail.gmail.com>, 0.00375, References*mail.gmail.com>, 0.00389, wrote, 0.00573, and+set, 0.00616, zfs, 0.00692, Subject*ZFS, 0.00692, I+haven't, 0.00921, >+1), 0.01000, Date*07+52, 0.99000, that+long, 0.01000, Date*52+58, 0.99000, here?, 0.01375, From*Attila, 0.01825, relevant, 0.01825, To*gmail.com>, 0.02321, delay+or, 0.02713, values, 0.02713, be+set, 0.02713, From*Nagy, 0.02713, (maybe, 0.02713, 23+26, 0.02713, Number+of, 0.02798, X-Spambayes-Classification: ham; 0.00 Received: from japan.t-online.private (japan.t-online.co.hu [195.228.243.99]) by people.fsn.hu (Postfix) with ESMTPSA id F0D9DF8FFD5; Mon, 21 Jan 2013 07:52:58 +0100 (CET) Message-ID: <50FCE5CA.7080006@fsn.hu> Date: Mon, 21 Jan 2013 07:52:58 +0100 From: Attila Nagy MIME-Version: 1.0 To: Zaphod Beeblebrox Subject: Re: ZFS regimen: scrub, scrub, scrub and scrub again. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs , FreeBSD Hackers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2013 07:02:56 -0000 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)