Red Hat Bugzilla – Bug 64206
disk corruption: du reports incorrect file size
Last modified: 2007-04-18 12:42:21 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.0.2 (X11; Linux i686; U;) Gecko/20020104
Description of problem:
We are having problems where a file appears to be larger than it really is.
That is, when you run ls, it shows the file to be some reasonable number of
bytes. However, when you run the du command on the file, it indicates the file
is some insane size, like 1 Gig (when it's really 100 Meg).
If you force an fsck, the system prints lots of messages about files having
incorrect block counts (I think that's the error). Then when you check the
file, it appears to be fixed, the du command reports a reasonable size.
Version-Release number of selected component (if applicable): 2.4.9-31
Steps to Reproduce:
1.I don't really have a good way to reproduced it, other than to run the system
until the problem occurs (it has shown up twice in the last 2-3 weeks.
2.So far, I've only noticed this with a particular file that grows at a fairly
fast rate (perhaps 200Meg a day). After a week or so, du seems to start
This is happening on a Dell GX1, with a Pentium 3 (I think) at around 500MHz.
It has a 6 Gig IDE drive. I am running the 2.4.9-31 kernel.
Can you attach the output of the "lsmod", "lspci" and "dmesg" commands to this