Formatting a harddisk with defective sectors

2008-08-19 Thread Polytropon
Hi!

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.

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.


Thanks for hints!

-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Formatting a harddisk with defective sectors

2008-08-19 Thread Roland Smith
On Tue, Aug 19, 2008 at 06:31:09PM +0200, Polytropon wrote:
 Hi!
 
 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.
 
 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
-- 
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)


pgpxSN0yykXCw.pgp
Description: PGP signature