*BSD News Article 40076


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!bloom-beacon.mit.edu!news.kei.com!world!umar
From: umar@world.std.com (Robert O Landry)
Subject: Bad blocks on my hard drive
Message-ID: <D1p5H4.I45@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
Date: Sat, 31 Dec 1994 22:36:40 GMT
Lines: 11

I've installed NetBSD 1.0 on an IDE drive in my 386 clone.  There are 
nine bad spots on the disk; in the days when I used to run DOS on this 
machine the DOS FROMAT command would lock these bad blocks out 
automatically. 

Now DOS is gone and I'm running NetBSD.  NetBSD doesn't know these blocks 
are bad and every once in a while tries to write to one, giving me a 
"Hard error writing ..." message.

Is there any way to tell NetBSD not to write to those blocks?  I'm trying 
to unpack some tar files and keep encountering the bad blocks.