Comment 10 for bug 499773

Revision history for this message
Lao Meng (menggr) wrote : Re: /var/lib/ureadahead/debugfs not removed from /etc/mtab

I've got something similar to this going on. Here's the data:
uname -a yields:
   Linux eRuiServer 2.6.31-19-generic-pae #56-Ubuntu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux

status ureadahead yields:
   ureadahead stop/waiting

df yields:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 24027628 22204940 602152 98% /
udev 253720 208 253512 1% /dev
none 253720 124 253596 1% /dev/shm
none 253720 532 253188 1% /var/run
none 253720 0 253720 0% /var/lock
none 253720 0 253720 0% /lib/init/rw
none 24027628 22204940 602152 98% /var/lib/ureadahead/debugfs
/dev/sda2 128321212 12963948 108838892 11% /home

sudo du -sc * from the / dir yields:
6852 bin
55076 boot
0 cdrom
332 dev
52 drivers
17932 etc
du: cannot access `home/menggr/.gvfs': Permission denied
12771740 home
0 initrd.img
0 initrd.img.old
383696 lib
16 lost+found
0 lpr.org
17630604 media
4 mnt
4 opt
du: cannot access `proc/3189/task/3189/fd/4': No such file or directory
du: cannot access `proc/3189/task/3189/fdinfo/4': No such file or directory
du: cannot access `proc/3189/fd/4': No such file or directory
du: cannot access `proc/3189/fdinfo/4': No such file or directory
du: cannot access `proc/3190': No such file or directory
du: cannot access `proc/3192': No such file or directory
du: cannot access `proc/3193': No such file or directory
0 proc
392 root
8512 sbin
4 selinux
200 srv
0 sys
136 tmp
2842812 usr
1082940 var
0 vmlinuz
0 vmlinuz.old
34801304 total

From the df we can see that the /dev/sda2 partition that has /home mounted is using 12,963,948kb. This is reasonably consistent with the value reported by du, which is 12,771,740kb. But for /dev/sda1, which has everything else, df reports it is using 22,204,940kb and is 98% full; and debugfs mirrors that. But if we look at what du reports for everything besides /home (we also ignore media too because that is just an external disk) it totals out to 4,398,960kb which isn't even close to 98%. I spent most of the day trying to find what is going on here but have failed. The debugfs led me to this discussion. When I boot my server it is complaining that the root directory is almost full. Does anybody think my problem is related to this one? Any suggestions on what I can do? Thanks in advance!