*BSD News Article 91290


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!dispatch.news.demon.net!demon!news.maxwell.syr.edu!newsfeed.nacamar.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Can ... under FreeBSD?
Date: 17 Mar 1997 22:46:06 GMT
Organization: Private BSD site, Dresden
Message-ID: <5gkhje$a3@uriah.heep.sax.de>
References: <332B35D4.408A@stu.ust.hk> <5ggpgt$6ut@uriah.heep.sax.de>
  <giffin-1603971656440001@giffin.student.harvard.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Lines: 29
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37224

giffin@fas.harvard.edu (Daniel B Giffin) wrote:

> I've got bad sectors too -- on an IDE disk.  I've been struggling with
> bad144, and managed I think to scan the disk and generate a list of bad
> blocks ("bad144 -s").  Could anyone explain what happens next (the actual
> bad144 command)?  I think the bad list needs to be written to the disk
> somehow?  Or is the consensus that bad block means bad disk and I should
> just chuck it?  Thanks for any help.

It is consensus.  If the disk is still under warranty, return it.
(For SCSI disks, things are a little different since most vendors
don't ship them with automatic bad sector replacement turned on by
default -- it's user-selectable there.)

Otherwise, make sure that your disk partitioning has spared the last
cylinder, and initialize the bad sector table:

	bad144 wd0 0 badsec1 badsec2 ...

I don't know what's the sense of the serial # (0 in this case), and
all this is from fading memory when i've been actually using my last
ESDI drive years ago.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)