From owner-freebsd-fs@FreeBSD.ORG Wed Nov 26 12:50:42 2008 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 108AB1065672 for ; Wed, 26 Nov 2008 12:50:42 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from warped.bluecherry.net (unknown [IPv6:2001:440:eeee:fffb::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9131E8FC18 for ; Wed, 26 Nov 2008 12:50:41 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (unknown [74.193.182.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by warped.bluecherry.net (Postfix) with ESMTPSA id D2095A271631; Wed, 26 Nov 2008 06:50:39 -0600 (CST) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.3/8.14.3) with ESMTP id mAQCoVL5031090; Wed, 26 Nov 2008 06:50:31 -0600 (CST) (envelope-from morganw@chemikals.org) Date: Wed, 26 Nov 2008 06:50:31 -0600 (CST) From: Wes Morgan To: Andriy Gapon In-Reply-To: <492D4426.1080307@icyb.net.ua> Message-ID: References: <492D2122.4050203@icyb.net.ua> <492D4426.1080307@icyb.net.ua> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org Subject: Re: endless zpool 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: Wed, 26 Nov 2008 12:50:42 -0000 On Wed, 26 Nov 2008, Andriy Gapon wrote: > on 26/11/2008 13:24 Goran Lowkrantz said the following: >> Do you have a script or something that creates snapshots running? >> >> I used sysutils/zfs-snapshot-mgmt and did see the same as you, as a >> running scrub is reset by a snapshot creation. > > Yes, I've just realized I had recently enabled zfs-snapshot-mgmt on this > machine. And the time when scrub is "disrupted" is the time when > snapshots are taken. Thank you! > >> If you are using this script, we have tested a modified version that >> suspends snapshot creation on a pool that is scrubbing. > > I would be very grateful for the patch! > > Just FYI, once Pawel merges the recent ZFS patches to -stable (please don't ask when, though!), snapshotting will not interfere with a scrub.