Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 1996 10:04:08 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        richardc@CSUA.Berkeley.EDU (Richard Chang)
Cc:        msmith@atrad.adelaide.edu.au, joerg_wunsch@uriah.heep.sax.de, questions@freebsd.org
Subject:   Re: hard reading error
Message-ID:  <199604100034.KAA17722@genesis.atrad.adelaide.edu.au>
In-Reply-To: <Pine.PTX.3.91.960409151919.24231q-100000@soda.CSUA.Berkeley.EDU> from "Richard Chang" at Apr 9, 96 03:20:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Richard Chang stands accused of saying:
> > 
> > # cd /foo
> > # mkdir BAD
> > # badsect BAD 1006499
> 
> 	Tried this but it said cannot attach 1006499 so any ideas?

Yeah, check the manpage.  :

DIAGNOSTICS
     Badsect refuses to attach a block that resides in a critical area or is
     out of range of the file system.  A warning is issued if the block is al-
     ready in use.

ie. you have the equivalent of a bad sector in your FAT (to use DOS lingo).
In the error messages you posted earlier, you also have the block number
within the slice.  You'll have to repartition inside the slice to avoid that
block, which means a backup and reinstall if it's something important
like /usr.

> Richard

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



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