From owner-freebsd-fs@FreeBSD.ORG Wed Nov 26 12:52:04 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 1C9C1106567C for ; Wed, 26 Nov 2008 12:52:04 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD268FC21 for ; Wed, 26 Nov 2008 12:52:02 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA14181; Wed, 26 Nov 2008 14:51:56 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <492D466B.1080609@icyb.net.ua> Date: Wed, 26 Nov 2008 14:51:55 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081106) MIME-Version: 1.0 To: Wes Morgan References: <492D2122.4050203@icyb.net.ua> <492D4426.1080307@icyb.net.ua> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:52:04 -0000 on 26/11/2008 14:50 Wes Morgan said the following: > 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. > Thanks! I guess this is what Andrew also meant. -- Andriy Gapon