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

nasty ext3 problem



Using kernel 2.4.20 with the following patches
 ext3-scheduling-storm.patch
 ext3-use-after-free.patch
 sync_fs-fix-2.patch
 sync_fs-fix.patch
 sync_fs.patch

Note: this problem started happening before applying the patches

I have a small partition for / since I don't have much there.

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda6               303344     98934    188749  35% /

After an average of 14 days / is completely filled.  But doing a du on /
returns:

98934   /

but Available is 0
and Used is equal to the total available space - % reserved for root

If I reboot, then Use% goes back to 35% and available space goes back to
normal

After rebooting, when i do a read only fsck, i get something like this:

--------------
azbok {/home/kobaz} root# e2fsck -n /dev/sda6 -f
e2fsck 1.27 (8-Mar-2002)
Warning!  /dev/sda6 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem
check.
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:  -8777
Fix? no

Free blocks count wrong for group #0 (23991, counted=23990).
Fix? no

Free blocks count wrong (3744071, counted=3744070).
Fix? no


/dev/sda6: ********** WARNING: Filesystem still has errors **********

/dev/sda6: 8235/78312 files (1.7% non-contiguous), 108826/313236 blocks
---------------

I thought it might be a filesystem problem, so i resized one of my
larger partitions for use as a new /

I did a cpio of everything in / to the new partition to make an exact
duplicate.

I booted with the new /
I did a full fsck of the new / and lo and behold I get similar problems

--------------------
Pass 5: Checking group summary information
Block bitmap differences:  -(920--927) -(950--1006) -(1015--1038)
-(1040--1071) -(1073--1085) 
--------------------

The longer the system is running, the more block bitmap differences

If left running for a few days, the block bitmap differences are a few
pages long.

I am completely clueless of what to do next.  Having to reboot every two
weeks is getting annoying.







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