From owner-freebsd-fs@FreeBSD.ORG Tue Jun 15 09:45:09 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAA6A1065673; Tue, 15 Jun 2010 09:45:09 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7200C8FC24; Tue, 15 Jun 2010 09:45:09 +0000 (UTC) Received: from outgoing.leidinger.net (pD954FFFD.dip.t-dialin.net [217.84.255.253]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 47C6784405C; Tue, 15 Jun 2010 11:45:00 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 29FE85572; Tue, 15 Jun 2010 11:44:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1276595097; bh=URMtmW4Wlsd4IQ9WwTwKENWM6Rmz6n3pXMlwSN3iwv4=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=FQRElRh33UTFNRD9byAHT9yslrtkNrqvucfwm2X1CiKGZLhtIMbih3/KfMxT38JXk rObYyVfCJVyCcWV9/AMwz6aBPg+3yFg3sYldnwZGc5bX8X+++nrRRbXVIiyTFP67fz pvLkc/pAIaOebxvFcfj0P7Ymw9uV6PNqX++Yt6idu8WXz4ln+2nwOVIA8F8wbQL2S3 bLxP/ZP9PgUY7SLfmUx9LkE/ivEN3T+wXmVhwD3bqjlr0BI0qLcVW+nUyWsNCGh+fc s4nnk4FQLo2wiN56GHW6s3LPMFZz4gncrUYFd1RwKEmWxmEf6aYeWYDlnNDL3okwK+ iYMU4SUSQ51gg== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o5F9iuAM037819; Tue, 15 Jun 2010 11:44:56 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 15 Jun 2010 11:44:56 +0200 Message-ID: <20100615114456.49994h9g40qhcnms@webmail.leidinger.net> Date: Tue, 15 Jun 2010 11:44:56 +0200 From: Alexander Leidinger To: Ivan Voras References: <20100610162629.38992mazf0sfdqg0@webmail.leidinger.net> <20100611172033.42001s90ahe57oe8@webmail.leidinger.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 47C6784405C.A63C2 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.1, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1277199901.0497@vhb/sByYpcK3+uPDlMOTJQ X-EBL-Spam-Status: No Cc: freebsd-fs@freebsd.org Subject: Re: CFT: periodic scrubbing of ZFS pools X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2010 09:45:10 -0000 Quoting Ivan Voras (from Fri, 11 Jun 2010 18:11:45 +0200): > On 11 June 2010 17:20, Alexander Leidinger wrote: >> Quoting Ivan Voras (from Fri, 11 Jun 2010 14:04:24 >> +0200): > >>> Fairly good and useful, but could you add a small check of "zpool >>> status" information before scrubbing that would a) complain LOUDLY AND >>> VISIBLY if a previous scrub failed and b) skip issuing a new scrub >>> command if there is such an error, to avoid stressing possibly broken >>> hardware? >> >> Can you please provide an example of such a failed scrub? > > You should probably treat any status message that doesn't have "none > requested" or "scrub completed with 0 errors..." as failed. I prefer to make it explicit instead of failing on everything which is unknown. > I could setup a gnop device with errors to prove it if you'd like :) Would be great. Bye, Alexander. -- "My two friends have my share of the money, I'll have to speak to them." -- Vito Corleone, "Chapter 14", page 197 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137