Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 1995 09:36:50 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        vince@penzance.econ.yale.edu (-Vince-)
Cc:        msmith@atrad.adelaide.edu.au, FreeBSD-questions@freefall.cdrom.com
Subject:   Re: Hardware problems
Message-ID:  <199508040006.JAA04238@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.LNX.3.91.950803153952.165B-100000@penzance.econ.yale.edu> from "-Vince-" at Aug 3, 95 03:41:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
-Vince- stands accused of saying:
> > > > You have a bad sector on your disk.  Read the bad144 manual page for
> > > > one means of dealing with it, and the badsect manual page for another.
> > > 
> > > 	Really?  I never knew IDE Hard drives especially the new models 
> > > have bad sectors on it... Hopefully the manual pages is self explanatary..
> > > Thanks anyways!
> > 
> > All disks have bad sectors; it's just that some deal with them better than
> > others.  In your case, simply writing to the sector may be enough to
> > convince the drive to reallocate it, certainly few drives would
> > automatically reallocate on reads by default.
> 
> 	I read the man pages but how do I use bad144 and badsect exactly?

Well, firstly, make a backup.  Then, in single-user mode (for paranoia's 
sake) say :

# bad144 -s -v /dev/rwd0s1c  (or whichever slice you're unsing).

(If you read the manual page, you will know that this scans the entire
disk for bad sectors)

If you can't follow the badsect manual page then I feel really sorry for
you, it's the nicest piece of handholding I've ever seen in a sysadmin
manual page.  I can't vouch for the command _working_ of course 8)

> -Vince- vince@kbrown.oldcampus.yale.edu - GUS Mailing Lists Admin

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and                                      [[
]] realtime instrument control          (ph/fax) +61-8-267-3039         [[
]] My car has "demand start" - Terry Lambert                            [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508040006.JAA04238>