From owner-freebsd-geom@FreeBSD.ORG Thu Jul 8 20:22:49 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19E89106564A for ; Thu, 8 Jul 2010 20:22:49 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id 5CB108FC15 for ; Thu, 8 Jul 2010 20:22:47 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 99CF745CA6; Thu, 8 Jul 2010 22:22:46 +0200 (CEST) Received: from localhost (77-254-174-170.adsl.inetia.pl [77.254.174.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1640C456B1; Thu, 8 Jul 2010 22:22:40 +0200 (CEST) Date: Thu, 8 Jul 2010 22:22:19 +0200 From: Pawel Jakub Dawidek To: Karl Pielorz Message-ID: <20100708202219.GB3093@garage.freebsd.pl> References: <6F0C8FABB57A0A91965413C1@Octa64> <20100708192008.GA3093@garage.freebsd.pl> <5BF2C0C24CA93034DFC79B28@Octa64> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ADZbWkCsHQ7r3kzd" Content-Disposition: inline In-Reply-To: <5BF2C0C24CA93034DFC79B28@Octa64> 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=-2.6 required=4.5 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: FreeBSD 7.3-Stable / GEOM issue with ZFS attach/replace & zvol's... X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 20:22:49 -0000 --ADZbWkCsHQ7r3kzd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2010 at 09:11:49PM +0100, Karl Pielorz wrote: >=20 >=20 > --On 08 July 2010 21:20 +0200 Pawel Jakub Dawidek wrote: >=20 > >>At the moment this is stopping me from replacing a failing drive which > >>is part of a zpool mirror set :( > > > >This was fixed in r200126, but wasn't MFCed to 7. I recommend upgrading > >to 8.1 once it is released. >=20 > Thanks - I did do quite a bit of digging around for similar issues, but= =20 > missed it'd been fixed (I guess it's the usual problem of working out the= =20 > right things to lookup)... >=20 > I might leap before 8.1 is released (appears to be RC2 atm) - as I really= =20 > need to replace the drive... If you can turn off ZVOLs for a moment and do the replacement, you could do the following: # zfs volfini This command will removed all ZVOLs from /dev/ and they won't be a problem during replace. Once you're done just call: # zfs volinit --=20 Pawel Jakub Dawidek http://www.wheelsystems.com pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ADZbWkCsHQ7r3kzd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkw2M3sACgkQForvXbEpPzSY2gCgpi0DHbm2Qp3T/HYdqYE18Rr8 RXYAoL1wjTagxQwzT3yhrVQC6Ck3rdrX =wzry -----END PGP SIGNATURE----- --ADZbWkCsHQ7r3kzd--