Re: Weird ext4 bug: 256P used?

Felipe Contreras
2009-10-12T23:04:21Z

On Tue, Oct 13, 2009 at 1:29 AM, Theodore Tso <tytso@mit.edu> 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.