From:
[email protected]
On Tue, Aug 17, 2004 at 12:05:33AM +0200, Simon Richter wrote:
for an obscure reason one of my ext3 filesystems got corrupted, and
e2fsck is unable to repair it, sometimes looping while trying to correct
a bitmap block, sometimes just pretending to repair the filesystem while
not doing anything to it.
A gzipped e2image of the filesystem in question can be found at http;//people.debian.org/~sjr/brokenfs.gz .
Hi there, I'm not seeing any problem with this filesystem image:
<tytso@think> {/usr/home/tytso}
515% gunzip < brokenfs.gz | src/make-sparse brokenfs.img
<tytso@think> {/usr/home/tytso}
516% e2fsck -fy brokenfs.img
e2fsck 1.35 (28-Feb-2004)
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
brokenfs.img: 25592/675840 files (3.9% non-contiguous), 530743/1350720 blocks
(All make-sparse is a quickie little program that takes data from
standard input and produces a sparse file.... i.e., it notices blocks
of all zero's, and uses lseek() instead write() in order to keep the
number of physical blocks used to a minimum. Something that should be
built-in into gunzip but isn't, alas.)
Could you check the following?
1) That you don't have any hardware problems that might be causing
intermittent I/O errors? This will cause e2fsck to give bad results,
although e2fsck generally is very verbose when the kernel returns I/O
errors. Still, you should try checking dmesg, /var/log/message, and /var/log/syslog for any kernel printk's indicating I/O errors.
2) Check to make sure you ran e2image on the correct partition.
3) After you create the e2image file, copy it to a test file, and then
try running e2fsck on the test file. If you can't reproduce the
problem on the e2image file, but the problem persists when you run
e2fsck on the device, then it is extremely likely that you have some
sort of hardware problem.
- Ted
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)