From owner-freebsd-current@FreeBSD.ORG Thu Feb 3 19:41:27 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 F1C03106564A for ; Thu, 3 Feb 2011 19:41:27 +0000 (UTC) (envelope-from pgollucci@p6m7g8.com) Received: from exhub015-2.exch015.msoutlookonline.net (exhub015-2.exch015.msoutlookonline.net [207.5.72.94]) by mx1.freebsd.org (Postfix) with ESMTP id D90CC8FC15 for ; Thu, 3 Feb 2011 19:41:27 +0000 (UTC) Received: from philip.hq.rws (174.79.184.239) by smtpx15.msoutlookonline.net (207.5.72.103) with Microsoft SMTP Server (TLS) id 8.2.254.0; Thu, 3 Feb 2011 11:41:27 -0800 Message-ID: <4D4B04E3.5070205@p6m7g8.com> Date: Thu, 3 Feb 2011 19:41:23 +0000 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101213 Thunderbird/3.0.11 MIME-Version: 1.0 To: Stefan Bethke References: <4D4A4716.5070404@p6m7g8.com> <32F33769-188F-47E9-96C5-C5603DD50247@lassitu.de> In-Reply-To: <32F33769-188F-47E9-96C5-C5603DD50247@lassitu.de> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4CBA38ED5B48D2F65735C68E" 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:41:28 -0000 --------------enig4CBA38ED5B48D2F65735C68E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/03/11 10:38, Stefan Bethke wrote: > Am 03.02.2011 um 07:11 schrieb Philip M. Gollucci: >=20 >> All filesystems are formatted with the current version. >> >> $ hd -v /dev/mfid3p1 | head >> hd: /dev/mfid3p1: Input/output error >> >> $ hd -v /dev/gpt/disk3 | head >> hd: /dev/gpt/disk3: Input/output error >=20 > Did you install a partition table on the disk (or otherwise opened it f= or writing) after you swapped it in? >=20 > I can't think of many reasons why you would get an I/O error if the con= troller is happy with the disk (as the later messages indicate), so I'm s= peculating that the provider feels it's device has gone; opening mfid3 fo= r writing might trigger a proper GEOM retaste (dd if=3D/dev/null of=3D/de= v/mfid3). I kind of figured as such, but alas, I can't manage to do that either. $ for d in mfid3 mfid3p1 mfid3p2 mfid3p3 gpt/disk3; do echo "$d:"; sudo dd if=3D/dev/null of=3D/dev/$d; done mfid3: dd: /dev/mfid3: Operation not permitted mfid3p1: 0+0 records in 0+0 records out 0 bytes transferred in 0.000027 secs (0 bytes/sec) mfid3p2: dd: /dev/mfid3p2: Operation not permitted mfid3p3: 0+0 records in 0+0 records out 0 bytes transferred in 0.000023 secs (0 bytes/sec) gpt/disk3: 0+0 records in 0+0 records out 0 bytes transferred in 0.000024 secs (0 bytes/sec) --=20 ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 VP Apache Infrastructure; Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. System Admin, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. --------------enig4CBA38ED5B48D2F65735C68E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iD8DBQFNSwTmdbiP+9ubjBwRAijmAJ9bP4WeyPKaUClIVPYmLa2l4E2bvgCdGdSV fv7ZTP0PmNPhXHrmzuja3JY= =Yh59 -----END PGP SIGNATURE----- --------------enig4CBA38ED5B48D2F65735C68E--