Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2011 20:44:06 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc:        current@FreeBSD.org
Subject:   Re: Replacing a failed disk in raidz2 zfs (and gpt)
Message-ID:  <20110203194406.GA2035@garage.freebsd.pl>
In-Reply-To: <4D4A4716.5070404@p6m7g8.com>
References:  <4D4A4716.5070404@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110203194406.GA2035>