Re: Weird ext4 bug: 256P used?

From: Felipe Contreras
Date: Mon Oct 12 2009 - 19:05:09 EST


On Tue, Oct 13, 2009 at 1:29 AM, Theodore Tso <tytso@xxxxxxx> wrote:
> On Mon, Oct 12, 2009 at 04:51:31PM +0300, Felipe Contreras wrote:
>> This is what I get with 'du -x --max-depth=3 | sort -n'.
>>
>> 140735340884184 Â Â Â ./var/lib/yum
>> 140735340910320 Â Â Â ./usr/include
>> 140735341711632 Â Â Â ./var/lib
>> 140735342038956 Â Â Â ./var
>> 140735344736432 Â Â Â ./usr
>> 281470691009304 Â Â Â .
>>
>> I did 'touch /forcefsck', rebooted, and didn't get any error, so I
>> guess at least the basic checks are passing.
>
> So if you do "du -x | sort -n", what's the deepest directory that
> shows a very large size, and can you find the files that seems to be
> responsible for these large du reports?

This is the result:
140735340871696 ./var/lib/yum/yumdb/s/160f96bb8689bae7bed1f8801385845d47913ace-skype-2.0.0.72-fc5-i586
140735340872268 ./var/lib/yum/yumdb/s
140735340884168 ./var/lib/yum/yumdb
140735340884184 ./var/lib/yum
140735340910320 ./usr/include
140735341713520 ./var/lib
140735342037100 ./var
140735344736432 ./usr
281470690029776 .

However, there's no file so big:
ls -lh /var/lib/yum/yumdb/s/160f96bb8689bae7bed1f8801385845d47913ace-skype-2.0.0.72-fc5-i586
total 12K
-rw-r--r-- 1 root root 24 2009-07-27 20:52 from_repo
-rw-r--r-- 1 root root 4 2009-07-27 20:52 reason
-rw-r--r-- 1 root root 2 2009-07-27 20:52 releasever

However, there's something messed up with the uid/gid:

ls -ld /var/lib/yum/yumdb/s/160f96bb8689bae7bed1f8801385845d47913ace-skype-2.0.0.72-fc5-i586
drwxr-xr-x 2 4294901760 16711680 4096 2009-07-27 20:52
/var/lib/yum/yumdb/s/160f96bb8689bae7bed1f8801385845d47913ace-skype-2.0.0.72-fc5-i586

ls -l /usr/include/autosprintf.h
-rw-r--r-- 1 4294901760 16711680 4096 2009-06-23 03:53
/usr/include/autosprintf.h

Apparently these are the two files with the problem, and it seems to
be related to the wrong directory size.

--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/