*BSD News Article 44259


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!news.uoknor.edu!news.ecn.uoknor.edu!paladin.american.edu!howland.reston.ans.net!news.sprintlink.net!cyberspace.com!cyberspace.com!not-for-mail
From: valko@cyberspace.com (Jack Valko)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: /sbin/badsect
Date: 18 May 1995 21:40:27 -0700
Organization: C y b e r S p a c e - (206) 505-5577
Lines: 20
Message-ID: <3ph7fr$9u7@case.cyberspace.com>
References: <3pggv4$1ir@case.cyberspace.com> <3pgl5j$lri@park.uvsc.edu>
NNTP-Posting-Host: case.cyberspace.com
X-Newsreader: TIN [version 1.2 PL2]

Terry Lambert (terry@cs.weber.edu) wrote:
: valko@cyberspace.com (Jack Valko) wrote:
: ] Does anyone know if /sbin/badsect can be used to map out badsectors on 
: ] mounted partitions?  I have a bad disk sector in sd0a and it seems like 
: ] I'm going to need to boot from a floppy to fix this.
: ] 
: ] Does anyone have a procedure in hand that they could post on how to 
: ] accomplish this?

: SCSI does this for you automatically.

: If you have a SCSI device (the sd0a you refer to is a SCSI drive
: name) that has a bad sector, then it is already fixed.

: If it isn't, you're drive is on the verge of going to hell in a
: handbasket, since you must be out of replacements.

I do have a SCSI drive.  Bummer.  Will a low-level reformat fix the problem?

Jack