Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Aug 2011 16:39:47 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bad sector in gmirror HDD
Message-ID:  <20110822063947.GA47945@server.vk2pj.dyndns.org>
In-Reply-To: <20110820032438.GA21925@icarus.home.lan>
References:  <1B4FC0D8-60E6-49DA-BC52-688052C4DA51@langille.org> <20110819232125.GA4965@icarus.home.lan> <B6B0AD0F-A74C-4F2C-88B0-101443D7831A@langille.org> <20110820032438.GA21925@icarus.home.lan>

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

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2011-Aug-19 20:24:38 -0700, Jeremy Chadwick <freebsd@jdc.parodius.com> w=
rote:
>The reallocated LBA cannot be dealt with aside from re-creating the
>filesystem and telling it not to use the LBA.  I see no flags in
>newfs(8) that indicate a way to specify LBAs to avoid.  And we don't
>know what LBA it is so we can't refer to it right now anyway.
>
>As I said previously, I have no idea how UFS/FFS deals with this.

It doesn't.  UFS/FFS and ZFS expect and assume "perfect" media.  It's
up to the drive to transparently remap faulty sectors.  UFS used to
have support for visible bad sectors (and Solaris UFS still reserves
space for this, though I don't know if it still works) but the code
was removed from FreeBSD long ago.

AFAIR, wd(4) supported bad sectors but it was removed long ago.

--=20
Peter Jeremy

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk5R+bMACgkQ/opHv/APuIcr+QCfdoAHKdGbslWCHdxMK0NjSvLk
a1gAn2vu2KSaN229Xi+eSK/vkbWlKlQC
=WoHk
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--



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