[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard drive woes...



Adam Lazur <ajl4@eecs.lehigh.edu> writes:

> The fan on my power supply recently siezed up, I have since replaced
> it, but it was not working for 2 days without me noticing. This
> allowed my box to get HOT, and as a result my hard drive isn't too
> happy anymore... In my MS-DOS partition (have to use Visual Cafe for
> work) scandisk found several bad sectors, and has since corrected
> them (marked bad). I know there are bad sectors in my Linux partition,
> as when I try to use man for anything I get:
> 
> Updating index cache for path `/usr/man'. Wait...
> gzip: /usr/man/man1/dumpkeys.1.gz: Input/output error
> 
> and the corresponding messages in /var/log/messages are:
> 
> Sep 21 18:39:00 LazC0M kernel: hda: read_intr: status=0x59 {
> DriveReady SeekComplete DataRequest Error } 
> Sep 21 18:39:00 LazC0M kernel: hda: read_intr: error=0x40 {
> UncorrectableError }, LBAsect=12253958, sector=3900158 
> Sep 21 18:39:00 LazC0M kernel: end_request: I/O error, dev 03:03,
> sector 3900158
> 
> I plan on scrapping this hard drive as it's progressively getting
> worse, but don't have the money for a new hard drive just yet. 
> 
> Is there any way to mark these sectors as 'bad' and limp it along
> further?

Unmount the partition (i.e. in case of the root partition: reboot with
the rescue disk --- note the name of the disk!) and run fsck on the
partition.

HTH,

Jens
-- 
Jens.Ritter@weh.rwth-aachen.de       grimaldi@debian.org
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
"Das ist halt der Unterschied: Unix ist ein Betriebssystem mit Tradition,
 die anderen sind einfach von sich aus unlogisch."
                -- Anselm Lingnau in de.comp.os.unix.discussion


Reply to: