From owner-freebsd-fs@FreeBSD.ORG Thu May 28 22:33:00 2009 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 0247F106566C for ; Thu, 28 May 2009 22:33:00 +0000 (UTC) (envelope-from andrew@modulus.org) Received: from email.octopus.com.au (email.octopus.com.au [122.100.2.232]) by mx1.freebsd.org (Postfix) with ESMTP id B52768FC08 for ; Thu, 28 May 2009 22:32:59 +0000 (UTC) (envelope-from andrew@modulus.org) Received: by email.octopus.com.au (Postfix, from userid 1002) id 4668F1735B; Fri, 29 May 2009 08:33:18 +1000 (EST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on email.octopus.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=10.0 tests=ALL_TRUSTED autolearn=failed version=3.2.3 Received: from [10.1.50.60] (ppp121-44-22-152.lns10.syd7.internode.on.net [121.44.22.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: admin@email.octopus.com.au) by email.octopus.com.au (Postfix) with ESMTP id 5460817255; Fri, 29 May 2009 08:33:14 +1000 (EST) Message-ID: <4A1F10DA.5080905@modulus.org> Date: Fri, 29 May 2009 08:31:54 +1000 From: Andrew Snow User-Agent: Thunderbird 2.0.0.14 (X11/20080523) MIME-Version: 1.0 To: Dmitry Marakasov References: <20090527155342.GA45258@hades.panopticon> <4A1DB3D1.6080003@modulus.org> <20090528132634.GG45258@hades.panopticon> In-Reply-To: <20090528132634.GG45258@hades.panopticon> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org Subject: Re: ZFS scrub/selfheal not really working 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, 28 May 2009 22:33:00 -0000 Dmitry Marakasov wrote: >>> So, my question is why doesn't ZFS rewrite those sectors with READ >>> errors during scrub? >> Because of the transactional nature of ZFS it writes the fresh data in a >> different part of the disk and then marks the old bad sectors as free. > Ok, then why does read errors pop up again after scrub, while they > should have been recovered? Because your disk subsystem is broken and keeps returning new sets of bad sectors. - Andrew