• Bug#266159: e2fsprogs: fails to correct broken filesystem (1/3)

    From Simon Richter@1:229/2 to All on Wed Aug 18 23:10:14 2004
    From: [email protected]

    --h31gzZEtNLTqOjlF
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    Hi,

    <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

    Hrm.

    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.

    There is nothing about that in the kernel logs, and I ran e2fsck on the
    file before I gzipped it to make sure it is not a hardware problem.

    To be absolutely sure, I just rechecked, and the problem persists
    (typescript / timings attached). Note that the behaviour this time is
    slightly different for the second run, but that isn't reproducible.

    Perhaps it is an endianness problem or a platform specific quirk
    (powerpc/G3 here).

    Simon

    --
    GPG Fingerprint: 040E B5F7 84F1 4FBC CEAD ADC6 18A0 CC8D 5706 A4B4

    --h31gzZEtNLTqOjlF
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename=typescript

    Script started on Wed Aug 18 18:27:39 2004
    + e2image -r /dev/hda3 brokenfs
    e2image 1.35 (28-Feb-2004)
    + ls -l
    total 26739
    -rw------- 1 root staff 1383137281 Aug 18 18:30 brokenfs
    -rw------- 1 root staff 4456496 Aug 16 22:59 brokenfs.gz
    drwxr-xr-x 22 geier geier 1024 Aug 18 17:57 geier
    drwxr-xr-x 2 root root 12288 Jul 13 02:10 lost+found
    -rw-r--r-- 1 root staff 35 Aug 18 18:30 timings
    -rw-r--r-- 1 root staff 0 Aug 18 18:27 typescript
    + e2fsck -nf brokenfs
    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
    Block bitmap differences: -1008609
    Fix? no

    Free blocks count wrong for gro