From owner-freebsd-fs@FreeBSD.ORG Mon May 3 17:06:26 2010 Return-Path: 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 02CFC1065677 for ; Mon, 3 May 2010 17:06:26 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from worf.ds9.tecnik93.com (worf.ds9.tecnik93.com [81.196.207.130]) by mx1.freebsd.org (Postfix) with ESMTP id 65FF78FC23 for ; Mon, 3 May 2010 17:06:25 +0000 (UTC) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by worf.ds9.tecnik93.com (Postfix) with ESMTPSA id F39E322C50C6 for ; Mon, 3 May 2010 19:48:58 +0300 (EEST) Date: Mon, 3 May 2010 19:48:58 +0300 From: Ion-Mihai Tetcu To: freebsd-fs@FreeBSD.org Message-ID: <20100503194858.1cfaa3f9@it.buh.tecnik93.com> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/jmmr8z2E+jxWsD9impDX8+="; protocol="application/pgp-signature" Cc: Subject: ZFS: old drive still in use after zfs replace 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: Mon, 03 May 2010 17:06:26 -0000 --Sig_/jmmr8z2E+jxWsD9impDX8+= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I have a zpool over 4 disks. Since after a scrub ad6 showed some errors, I did a=20 zpool replace tank /dev/ad6 /dev/ad14 which completed with: scrub: resilver completed after 6h36m with 4 errors on Fri Apr 9 07:06:2= 4 2010 However, status in that moment was showing for the two drives in question: replacing ONLINE 0 0 0 ad6 ONLINE 0 0 0 ad14 ONLINE 0 0 0 371G resilvered Rebooting didn't help, not did zfs export tank=20 followed by zfs import -f tank, both with and then without ad6 connected. Now, without ad6 connected: # zpool status -v pool: tank state: DEGRADED 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: none requested config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 raidz1 DEGRADED 0 0 0 ad10 ONLINE 0 0 0 replacing DEGRADED 0 0 0 1729652906707038827 UNAVAIL 0 1.34M 0 was /dev/ad6 ad14 ONLINE 0 0 0 ad8 ONLINE 0 0 0 ad12 ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: /tank/usr/home/some/file1 tank/usr/home:<0xb846> /tank/usr/home/some/file3 /tank/usr/home/some/file4 What should I do next? Thanks, = =20 --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/jmmr8z2E+jxWsD9impDX8+= Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkve/noACgkQJ7GIuiH/oeXXKgCeObNZvvnKsmdb0S7s5lFFdEjE jtEAoKaO8JSre2LtaV0xXr7UZTZXicnf =Moj0 -----END PGP SIGNATURE----- --Sig_/jmmr8z2E+jxWsD9impDX8+=--