From owner-freebsd-fs@FreeBSD.ORG Sun Apr 22 21:21:18 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 794DE16A401 for ; Sun, 22 Apr 2007 21:21:18 +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 16A0713C483 for ; Sun, 22 Apr 2007 21:21:17 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 76C3E487F4; Sun, 22 Apr 2007 23:21:16 +0200 (CEST) Received: from localhost (public-gprs38729.centertel.pl [91.94.23.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 747CC45CD9; Sun, 22 Apr 2007 23:20:58 +0200 (CEST) Date: Sun, 22 Apr 2007 23:20:19 +0200 From: Pawel Jakub Dawidek To: Barry Pederson Message-ID: <20070422212019.GJ52622@garage.freebsd.pl> References: <46205338.3090803@barryp.org> <20070415111955.GB16971@garage.freebsd.pl> <46224706.4010704@barryp.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JsihDCElWRmQcbOr" Content-Disposition: inline In-Reply-To: <46224706.4010704@barryp.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.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL autolearn=no 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: Sun, 22 Apr 2007 21:21:18 -0000 --JsihDCElWRmQcbOr Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 15, 2007 at 10:38:46AM -0500, Barry Pederson wrote: > But the thing that got me going on this was that if you *don't* do the sc= rub after the replace but instead do some other destructive things to one o= f the non-replaced=20 > devices, like: >=20 > dd if=3D/dev/random bs=3D1m count=3D64 oseek=3D1 conv=3Dnotrunc of=3D/tm= p/foo1 >=20 > and *then* do a scrub and then "zpool status -v mypool", you get this rea= lly alarming message mentioning data corruption. >=20 > --------------------- > zpool status -v mypool > pool: mypool > state: ONLINE > status: One or more devices has experienced an error resulting in data > corruption. Applications may be affected. > action: Restore the file in question if possible. Otherwise restore the > entire pool from backup. > see: http://www.sun.com/msg/ZFS-8000-8A > scrub: scrub completed with 184 errors on Sun Apr 15 09:55:43 2007 > config: >=20 > NAME STATE READ WRITE CKSUM > mypool ONLINE 0 0 761 > raidz1 ONLINE 0 0 761 > md0 ONLINE 0 0 0 > md1 ONLINE 0 0 521 > md3 ONLINE 0 0 25 >=20 > errors: Permanent errors have been detected in the following files: >=20 > mypool:<0x100> > mypool:<0x104> > mypool:<0x105> > . > . > --------------------- >=20 > I suppose you have to actually have some files in /mypool for this to sho= w up. >=20 > (are there supposed to be real filenames in the message instead of things= like "<0x100>" ?) 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 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --JsihDCElWRmQcbOr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGK9GTForvXbEpPzQRAqbtAJwPywSt9x2fQ4YzCgNoND85ROXRUwCdFtT7 CkdXyprC8PA+aQO/oqE9LRk= =ZxHn -----END PGP SIGNATURE----- --JsihDCElWRmQcbOr--