Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 18:53:24 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Polytropon <freebsd@edvax.de>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Formatting a harddisk with defective sectors
Message-ID:  <20080819165324.GA45352@slackbox.xs4all.nl>
In-Reply-To: <20080819183109.5afce9f1.freebsd@edvax.de>
References:  <20080819183109.5afce9f1.freebsd@edvax.de>

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

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

On Tue, Aug 19, 2008 at 06:31:09PM +0200, Polytropon wrote:
> Hi!
>=20
> I have an 8 GB harddisk that I want to use in a Intel P1 / 150 MHz
> with 128 MB EDO-RAM system. Yes, that's for real. This harddisk has
> one defective sector which causes the installation that's already on
> this disk to complain about not being able to clean the /home partition
> via fsck.
>=20
> My question: Is there a way to exclude the defective sectors from being
> accessible at the time the disk is completely initialized for a new
> install (slices, partitions, format, tunefs)? Goal: As long as the
> defective sectors won't multiply, if nobody ever touches them, the
> disk should run fine.

See badsect(8). Use between mkfs and install (hint: switch to
"holographic shell").

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iEYEARECAAYFAkiq+oQACgkQEnfvsMMhpyXdlQCgphOdbg7vE19H8TuwHoU/bng8
imMAn05RLrR2CG5KcjZONQEJC8//+Cui
=HRss
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--



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