Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Corrupt file system
@ 2000-03-19  5:00 Idar Tollefsen
  2000-03-21  5:00 ` SOLUTION - " Idar Tollefsen
  0 siblings, 1 reply; 2+ messages in thread
From: Idar Tollefsen @ 2000-03-19  5:00 UTC (permalink / raw)


Hello,

When booting, fsck reports errors on the file system, check forced.
After a while, it fails with signal 11, droping me to a root
shell with orders to run fsck manually.

When I do this, it still fails with signal 11 just when it's
about to finish. This is the complete output from the run:

----------------------------------------------------------------------------
Parallelizing fsck version 1.17 (26-Oct-1999)
e2fsck 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09
/dev/hda5 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #5 (4364, counted=4370).
Fix<y>? yes

Free blocks count wrong for group #10 (1284, counted=1300).
Fix<y>? yes

Free blocks count wrong for group #18 (4039, counted=4044).
Fix<y>? yes

Free blocks count wrong for group #25 (6305, counted=6319)
Fix<y>? yes

Free blocks count wrong for group #80 (2099, counted=2106)
Fix<y>? yes

Free blocks count wrong for group #256 (3651, counted=3658)
Fix<y>? yes

Free blocks count wrong for group #263 (0, counted=623)
Fix<y>? yes

Free blocks count wrong (487275, counted=487953).
Fix<y>? yes

Free blocks count wrong for group #10 (1849, counted=1850)
Fix<y>? yes

Free blocks count wrong for group #80 (1946, counted=1711)
Fix<y>? yes

Free blocks count wrong for group #258 (1852, counted=1853)
Fix<y>? yes

Free blocks count wrong (513623, counted=513390)
Fix<y>? yes

/dev/hda5: ***** FILE SYSTEM WAS MODIFIED *****
/dev/hda5: 80530/593920 files (3.3% non-contiguous). 1882831/2370784 blocks
Warning... fsck.ext2 for device /dev/hda5 exited with signal 11.
----------------------------------------------------------------------------

It almost looks like it has problems writing the result back to disk.
I have tried to check for bad blocks on the disk, but found none.

If I run the e2fsck program instead of fsck, the output (the important 
parts anyway) is identical, execept that it seg faults instead of 
exiting with a signal 11 when it's about to finish.

What can I do to remedy the situation?





- Idar Tollefsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

* SOLUTION - Corrupt file system
  2000-03-19  5:00 Corrupt file system Idar Tollefsen
@ 2000-03-21  5:00 ` Idar Tollefsen
  0 siblings, 0 replies; 2+ messages in thread
From: Idar Tollefsen @ 2000-03-21  5:00 UTC (permalink / raw)


Hello,

Some very observant fellow spotted that I ran e2fsck 1.17, while the
latest version is 1.18.

After downloading (http://web.mit.edu/tytso/www/linux/e2fsprogs.html),
compiling and installing 1.18, things startet to clear up.

From the release notes of 1.18:

----------------------------------------------------------------------
Fix a core dumping bug in e2fsck if an imagic inode is present or
(more rarely) if the filesystem is badly corrupted enough that e2fsck
has to restart pass 1 processing. E2fsck now closes the filesystem
before freeing a large number of its data structures, so in the case
of future memory faults, at least the fixed filesystem will be fully
written out.
----------------------------------------------------------------------

In my case, I had imagic inodes all over the place. I also suspect
that the part about "closes the filesystem before freeing..."
had something to do with it. 1.18 also spotted, reported and
fixed a whole new range of errors on the file system that
1.17 never said anything about.

The rule of thumb is of course always to have the latest version.
I had upgradet my e2fsprogs with the latest RPM I could find for
it, but as it turned out, that wasn't new _enough_.



- Idar Tollefsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-03-21  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-19  5:00 Corrupt file system Idar Tollefsen
2000-03-21  5:00 ` SOLUTION - " Idar Tollefsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox