mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: Theodore Tso <tytso@mit.edu>,
	Felipe Contreras <felipe.contreras@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Weird ext4 bug: 256P used?
Date: Tue, 13 Oct 2009 02:02:31 +0300	[thread overview]
Message-ID: <94a0d4530910121602i14f34150h18d388668fc355d9@mail.gmail.com> (raw)
In-Reply-To: <20091012222910.GB18195@mit.edu>

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.

-- 
Felipe Contreras

  reply	other threads:[~2009-10-12 23:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12 13:51 Felipe Contreras
2009-10-12 22:29 ` Theodore Tso
2009-10-12 23:02   ` Felipe Contreras [this message]
2009-10-12 23:12     ` Theodore Tso
2009-10-12 23:27       ` Felipe Contreras
2009-10-13  1:05         ` Theodore Tso
2009-10-13  2:11           ` Theodore Tso
2009-10-13 11:11             ` Felipe Contreras
2009-10-13 12:13               ` Theodore Tso
2009-10-13 12:18                 ` Felipe Contreras
2009-10-13 11:08           ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94a0d4530910121602i14f34150h18d388668fc355d9@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®