Serious problem with Linux on an old PC



Hi there !

Could anyone give me a diagnosis on my hard disk problem ?

On an old Fujitsu, I had installed RedHat 6.0, a few years ago. It worked
for years
without any problem. Then, last june, I had a crash on a
partition, and I had to re-install, which I did only last week. At first,
everything seemed OK, but, after 2-3 days and about 3 ou 4 shutdown and
startup, I ran into a problem similar to that of last june, except that
it occured in /dev/hda5 instead of /dev/hdc3 last time :

'/dev/hda5 contains a filesystem with errors ! check forced...

.... kernel panic, [file system] inconsistency... run fsck manually...'

at this point, I typed the root pasword as required, got dropped to a
shell, and typed:

'fsck /dev/hda5' :

'PASS 1 : Checking inodes, blocks and sizes... Duplicate blocks found
...... Invoking duplicate block passes... etc...

PASS 1B : Rescan for duplicate bad blocks... Duplicate bad blocks in
inode 55299 : 221452
55300 : 221453
55301 : 221454
.... etc...

PASS 1C : Scan directories for inodes with dup blocks
...............
PASS 1D : Reconciling duplicate bad blocks

file ... (inode 55305, mod time Sat Aug26,2006 has 3 duplicate blocks
shared with 3 files.....

etc.., etc..,
/etc/mail...

Clone Duplicate bad blocks => Y

Pass 2 : checking directory structure : the '..' in /etc/mail (55299) is
missing... FIX => Y

PASS 4 : checking reference counts: inode 2 reference count is 15, should
be 16 FIX => Y, inode 18433 reference count is 27, should be 26 FIX =>
Y... etc... unattached inode 55301

etc...

PASS 5 : checking group summary information. Block bitmap differences
+221461 +221462 .... 221486... etc...

etc... etc... it took at least 15 minutes to fix everything, replying 'Y'
to every ask. Then I got :

'/dev/hda5 : filesystem was modified. /dev/hda5 6703/110592 files (0.4%
non contiguous.

on reboot, I had:

/dev/hda5 clean
/dev/hdc2 clean
/dev/hdc3 clean

After so many fixings, I rather expected that it would not reboot
properly, but, so far, I have not found anything wrong in the repaired
system.

Last june, about the same thing had happened, not on /dev/hda5, but on
/dev/hdc3. There were so much fixing to be done, that I had given up. This
time, it happens on a newly re-installed system.

I suppose that a similar problem is going to happen again some time
sooner or later...

Thanks in advance for any useful input
.



Relevant Pages

  • Re: Serious problem with Linux on an old PC
    ... Rescan for duplicate bad blocks... ... unattached inode 55301 ... /dev/hda5 clean ... Get a new disk, and reinstall on that. ...
    (comp.os.linux.setup)
  • Re: Trial Offers
    ... Tell me where it is and I'll tell you how to make Disk Cleanup clean it.. ... > data in your registry. ... > I avoid such problems by never testing software on my stable system. ... > multiboot with a duplicate of my real OS. ...
    (microsoft.public.windowsxp.general)
  • Re: Cleaning up PATHs?
    ... which I'd like to clean. ... clean_path.ksh - removes duplicate and dead entries from PATH ... : cleanpath { ...
    (comp.unix.shell)
  • Re: [RFC PATCH -v4 00/14] fsnotify, dnotify, and inotify
    ... There is no such thing as absolute path of inode *anywhere*, ... but that might involve VFS violence. ... Or we can duplicate the filesystem's directory structure ...
    (Linux-Kernel)
  • [PATCH] powerpc: clean out a bunch of duplicate includes
    ... Here's a patch to clean out a bunch of duplicate includes from ... Please consider for inclusion. ...
    (Linux-Kernel)