From owner-freebsd-current@FreeBSD.ORG Thu Feb 3 19:44:29 2011 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84CF2106567A for ; Thu, 3 Feb 2011 19:44:29 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 313398FC13 for ; Thu, 3 Feb 2011 19:44:28 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E110345E49; Thu, 3 Feb 2011 20:44:26 +0100 (CET) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C689045CA6; Thu, 3 Feb 2011 20:44:21 +0100 (CET) Date: Thu, 3 Feb 2011 20:44:06 +0100 From: Pawel Jakub Dawidek To: "Philip M. Gollucci" Message-ID: <20110203194406.GA2035@garage.freebsd.pl> References: <4D4A4716.5070404@p6m7g8.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <4D4A4716.5070404@p6m7g8.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: current@FreeBSD.org Subject: Re: Replacing a failed disk in raidz2 zfs (and gpt) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2011 19:44:29 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 03, 2011 at 06:11:34AM +0000, Philip M. Gollucci wrote: > All, >=20 > I have a zroot(mirror)+zmysql(raidz2) setup on a MySQL db box. > One drive failed (mfid3). We've since replaced it. >=20 > I can't for the life of me get zpool to replace it. I can't remember why > I used gpt instead of direct disks for the zmysql pool (but thats how it > is). I've tried all of the following commands with different errors, > and I must say I'm stumped. I've done this several times before for the > ASF (but no gpt at play there). >=20 > $ zpool scrub zmysql > just runs, and completes, no error >=20 > $ zpool replace zmysql gpt/disk3 > cannot replace gpt/disk3 with gpt/disk3: one or more devices is > currently unavailable [...] > $ zpool offline zmysql gpt/disk3 > cannot offline gpt/disk3: no valid replicas I'm afraid this is ZFS bug that is fixed in v28 for sure, not sure about v14/v15. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1LBYYACgkQForvXbEpPzRRfgCgvpduDfFacYj9gbvmUsI7fJNL uvIAniTr91rGaBeLUp6aYNmUCqAHpnfl =hfv3 -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--