*BSD News Article 89746


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!newsfeed.internetmci.com!europa.clark.net!news.mathworks.com!fu-berlin.de!news.apfel.de!news.radio.cz!CESspool!news.radio.cz!newsbreeder.radio.cz!news.cesnet.cz!ns.felk.cvut.cz!not-for-mail
From: Tomas Horacek <kaktus@bsdi.infima.cz>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Format error in bad-sector file
Date: Thu, 20 Feb 1997 19:25:24 +0000
Organization: INFIMA
Lines: 45
Distribution: world
Message-ID: <330CA524.7B03@bsdi.infima.cz>
References: <330BA102.4CB5@pinehurst.net>
NNTP-Posting-Host: audrey.infima.cz
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-2
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.0b2 (WinNT; I)
To: beth@pinehurst.net
X-Priority: 3 (Normal)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6050

Beth Morgan wrote:
> 
> Has anyone seen this error before?  I just installed 2 new Maxtor 3.5 gb
> hard drives on my Cyrix 200+ machine running BSDI 2.1 (Internet Server).
> When I newfs'ed them, I received an error "format error in bad-sector
> file".  The disks seem to be fine though. I'm testing them with a
> newsfeed for a few days, so I won't suffer any serious consequences if I
> really do have some errors.  I did run diskdefect, which also had errors
> like:
> diskdefect bad-sector file 4 is jumbled
> diskdefect cannot locate valid bad block table
> diskdefect cannot find defect list
> 
> This all leads me to believe that it's not the disks that have problems,
> it's the file that diskdefect was supposed to write to that has the
> problem.
> 
> Has anyone had a similar experience?
> 
> Thanks,
> Beth

 I had same problem recently. I also tried to install additional disk
and I got same message.
 As I think the problem is in wrong installation procedure. After
succesfull disksetup use following commands :

 # diskdefect -wsa <disk>

 Example:

 # diskdefect -wsa wd1

 than use :

 # newfs /dev/r[w,s]d1a            "w for IDE, s for SCSI disk"

 All of this is described on this address :

 http://www.bsdi.com/support/faq/BSD_OS-2.1/adding-second-disk.etx

-- 
Tomas HORACEK
INFIMA s.r.o.
kaktus@bsdi.infima.cz