From owner-freebsd-stable@FreeBSD.ORG Tue Jul 7 21:17:36 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34BD0106564A for ; Tue, 7 Jul 2009 21:17:36 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id C8B6B8FC12 for ; Tue, 7 Jul 2009 21:17:35 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.3/8.14.3) with ESMTP id n67Krwtk010945; Tue, 7 Jul 2009 15:53:58 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n67Krwn8010944; Tue, 7 Jul 2009 15:53:58 -0500 (CDT) (envelope-from brooks) Date: Tue, 7 Jul 2009 15:53:58 -0500 From: Brooks Davis To: "Mahlon E. Smith" , freebsd-stable@freebsd.org Message-ID: <20090707205357.GA2415@lor.one-eyed-alien.net> References: <20090707195614.GA24326@martini.nu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wRRV7LY7NUeQGEoC" Content-Disposition: inline In-Reply-To: <20090707195614.GA24326@martini.nu> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Tue, 07 Jul 2009 15:53:58 -0500 (CDT) Cc: Subject: Re: ZFS: drive replacement performance X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 21:17:36 -0000 --wRRV7LY7NUeQGEoC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 07, 2009 at 12:56:14PM -0700, Mahlon E. Smith wrote: >=20 > I've got a 9 sata drive raidz1 array, started at version 6, upgraded to > version 13. I had an apparent drive failure, and then at some point, a > kernel panic (unrelated to ZFS.) The reboot caused the device numbers > to shuffle, so I did an 'export/import' to re-read the metadata and get > the array back up. >=20 > Once I swapped drives, I issued a 'zpool replace'. >=20 > That was 4 days ago now. The progress in a 'zpool status' looks like > this, as of right now: >=20 > scrub: resilver in progress for 0h0m, 0.00% done, 2251h0m to go >=20 > ... which is a little concerning, since a) it appears to have not moved > since I started it, and b) I'm in a DEGRADED state until it finishes... > if it finishes. >=20 > So, I reach out to the list! >=20 > - Is the resilver progress notification in a known weird state under > FreeBSD? >=20 > - Anything I can do to kick this in the pants? Tuning params? >=20 > - This was my first drive failure under ZFS -- anything I should have > done differently? Such as NOT doing the export/import? (Not sure > what else I could have done there.) I'm seeing essentially the same think on an 8.0-BETA1 box with an 8-disk raidz1 pool. Every once in a while the system makes it to 0.05% done and gives a vaguely reasonable rebuild time, but it quickly drops back to reports 0.00% and it's basically not making any forward progress. In my case this is a copy of a mirror so while it would be a bit annoying to rebuild, the system could be rebuilt fairly easily. On thing I did just notice is that my zpool version is 13, but my file systems are all v1 rather than the latest (v3). I don't know if this is relevant or not. -- Brooks --wRRV7LY7NUeQGEoC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFKU7XlXY6L6fI4GtQRApHqAJ9eZtLw+zDtGh3Lj889mAtcyGcKZQCeNbzW ju/nRRU3nPDz/RNYZNuLWNg= =AikS -----END PGP SIGNATURE----- --wRRV7LY7NUeQGEoC--