From owner-freebsd-fs@FreeBSD.ORG Thu Jun 10 14:59:18 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 0152E106567A for ; Thu, 10 Jun 2010 14:59:18 +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 9F0508FC08 for ; Thu, 10 Jun 2010 14:59:17 +0000 (UTC) Received: from outgoing.leidinger.net (pD954FE15.dip.t-dialin.net [217.84.254.21]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 0E76C84400A; Thu, 10 Jun 2010 16:59:14 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id E057E5138; Thu, 10 Jun 2010 16:59:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1276181951; bh=0vjWRYEjt7X2eHhj6sivGuhQwwrwnP/Sq/H4T0I0N18=; h=Message-ID:Date:From:To:Cc:Subject:References:In-Reply-To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=MYCwxdzv/PKYo4U6EK5PkRDZclVp1JTNQ+Dz7i4HObj97S3XHfR2fRpWISMIXF3RQ l+KXrNOOyhgXyCBJwbobh0dNK2q4a7XyN/3Vxee92H0tATM5M9eZp2hNfWHDS2exdV hpOtnddqYQa4CsKfCbczNUdXaqFSE8xr3p4uPRzpL5rzXRrWXfXZJjRJ9AcBufXAhN p1ae0dKxeogEBC9+7nv4O6i/HLIhgYLkAn+tEKxtTafTqcxF770N3nAeTNoAB/BcyJ tacPOwvmZKAGrt7oILXB8VO1ln8Ep4iNxyjyZoaNEPqjgWtiVplP+27IwCiEFPHWGZ FShrC1e+4z6Tw== Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o5AExAsZ057261; Thu, 10 Jun 2010 16:59:10 +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; Thu, 10 Jun 2010 16:59:09 +0200 Message-ID: <20100610165909.19296dpe2uxbeqo0@webmail.leidinger.net> Date: Thu, 10 Jun 2010 16:59:09 +0200 From: Alexander Leidinger To: Bartosz Stec References: <20100609162627.11355zjzwnf7nj8k@webmail.leidinger.net> <4C10B136.3030404@kkip.pl> In-Reply-To: <4C10B136.3030404@kkip.pl> 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: 0E76C84400A.A4F1A X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.023, required 6, autolearn=disabled, ALL_TRUSTED -1.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1276786754.8908@VKQnxMUjr3Yh7FMHYD2BZQ X-EBL-Spam-Status: No Cc: freebsd-fs@freebsd.org Subject: Re: Do we want a periodic script for a zfs scrub? 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: Thu, 10 Jun 2010 14:59:18 -0000 Quoting Bartosz Stec (from Thu, 10 Jun 2010 11:32:38 +0200): > Ross-at-neces-dot-com already did what you're searching for. I'm > using his periodic scripts for some months now, check here: > http://www.neces.com/blog/technology/integrating-freebsd-zfs-and-periodic-snapshots-and-scrubs. > They're doing all necessary stuff, like checking for scrub in progress > too. Hope you'll find them helpful. They can not be imported as is into FreeBSD, the way he is sharing common stuff between several scripts is a little bit outside of what *I* would agree to do in FreeBSD. My polished up script has also some more features and the code in question is not difficult to get right. So... no reuse of what he did. You can find the script referenced in another mail I wrote to fs@. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137