From owner-freebsd-fs@FreeBSD.ORG Wed Nov 26 13:14:15 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 B48151065673 for ; Wed, 26 Nov 2008 13:14:15 +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 D5E3E8FC0A for ; Wed, 26 Nov 2008 13:14:14 +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 PAA14905; Wed, 26 Nov 2008 15:14:11 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <492D4BA2.90905@icyb.net.ua> Date: Wed, 26 Nov 2008 15:14:10 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081106) MIME-Version: 1.0 To: Goran Lowkrantz References: <492D2122.4050203@icyb.net.ua> <492D4426.1080307@icyb.net.ua> <4EECB3AA317601AE36BE0DB5@syn> In-Reply-To: <4EECB3AA317601AE36BE0DB5@syn> Content-Type: text/plain; charset=KOI8-U 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 13:14:15 -0000 on 26/11/2008 14:59 Goran Lowkrantz said the following: > --On November 26, 2008 14:42:14 +0200 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! >> >> -- >> Andriy Gapon > > Attached is the latest we have from the author. It suspends snapshots > during scrubs and support recursive snapshots. Thank you and the author! These two features are quite cool. -- Andriy Gapon