From owner-freebsd-fs@FreeBSD.ORG Thu May 3 20:09:37 2007 Return-Path: X-Original-To: freebsd-fs@FreeBSD.org Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D722016A407 for ; Thu, 3 May 2007 20:09:37 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 3D95013C487 for ; Thu, 3 May 2007 20:09:36 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 04F7D48A2F; Thu, 3 May 2007 21:12:12 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9E0C248A2E; Thu, 3 May 2007 21:12:07 +0200 (CEST) Date: Thu, 3 May 2007 21:11:39 +0200 From: Pawel Jakub Dawidek To: St?le Kristoffersen Message-ID: <20070503191139.GD7177@garage.freebsd.pl> References: <46205338.3090803@barryp.org> <20070415111955.GB16971@garage.freebsd.pl> <46224706.4010704@barryp.org> <20070422212019.GJ52622@garage.freebsd.pl> <20070423105619.GA14400@eschew.pusen.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline In-Reply-To: <20070423105619.GA14400@eschew.pusen.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@FreeBSD.org Subject: Re: ZFS raidz device replacement problem 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, 03 May 2007 20:09:37 -0000 --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 23, 2007 at 12:56:19PM +0200, St?le Kristoffersen wrote: > On 2007-04-22 at 23:20, Pawel Jakub Dawidek wrote: > > I just committed a fix for 'zpool status -v'. It should now show > > actually file names if corruption is related to file's data. >=20 > I tried the fix and it did work. However, when I deleted the file and > restored it from backup it still showed that the pool had one error. > (Showing only 0x62b as filename again). Shouldn't ZFS automatically clear > the error when deleting the file? >=20 > I tried exporting and importing the pool, didn't change anything, I then > ran a scrub and it fixed it: > scrub: scrub completed with 0 errors on Mon Apr 23 09:45:36 2007 > errors: No known data errors >=20 > I would have preferred if I didn't have to scrub the pool, would it be ha= rd > to fix it on delete? 'zpool clear ' should do the trick. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGOjPqForvXbEpPzQRAlXdAJ0azudI3iZCIdTpSOAQs8mVQyFPwQCgjlo8 j9uu4fflE6XNl/iCKvAwy04= =kyIQ -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa--