Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Feb 2011 19:41:23 +0000
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        current@FreeBSD.org
Subject:   Re: Replacing a failed disk in raidz2 zfs (and gpt)
Message-ID:  <4D4B04E3.5070205@p6m7g8.com>
In-Reply-To: <32F33769-188F-47E9-96C5-C5603DD50247@lassitu.de>
References:  <4D4A4716.5070404@p6m7g8.com> <32F33769-188F-47E9-96C5-C5603DD50247@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--------------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--



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