LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-23-2010, 06:33 PM   #1
qhhatman
LQ Newbie
 
Registered: Oct 2008
Posts: 19

Rep: Reputation: 0
Ubuntu Server incorrectly claiming disk full and persistent ureadahead/debugfs


My server is claiming a partition is full, but df and du produce conflicting results. In addition there is a /var/lib/ureadahead/debugfs "partition" that seems to be mirroring the "full" partition. What is going on here and how to resolve? First 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. I also don't know what the /var/lib/ureadahead/debugfs is all about despite reading several postings about it. When I boot my server it is complaining that the root directory is almost full, but I'm not sure if I should believe it or not. Any suggestions on what I can do? Thanks in advance!
 
Old 02-24-2010, 12:48 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Read this post :
http://ubuntuforums.org/showpost.php...9&postcount=18

Apparently ureadahead is something that preloads files so the system boots faster.

But the output in df shouldn't include debugfs, it's a bug in df that has already been reported.

You are not running out of space.

Also, try using
Code:
du -schx
from /

(you don't need a wildcard)

Last edited by smoker; 02-24-2010 at 12:58 PM.
 
1 members found this post helpful.
Old 02-24-2010, 08:42 PM   #3
qhhatman
LQ Newbie
 
Registered: Oct 2008
Posts: 19

Original Poster
Rep: Reputation: 0
This for the link smoker. I've also gotten the /var/lib/ureadahead/debugfs entry to go away. I guess that happened after I rebooted with a previous kernel and ran a few fsck's. I'm now back to the most recent kernel. The fsck's did find some missing inode problems. I don't really know what part of what I did helped to resolve this problem, but I seem to be operating normally again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backup the RHEL5 server with Cpanel and create full system restore disk zaki Linux - Newbie 1 08-31-2009 11:59 AM
Ubuntu says disk is full installed alongside windows and... Dygital_Karma Linux - Laptop and Netbook 2 05-17-2009 10:21 AM
Disk Free space being incorrectly reported NiallC Linux - General 2 10-02-2004 05:06 PM
Server/apache ... disk full ANU Linux - Software 4 11-01-2003 05:49 PM
Mail server problem Disk is full! ann_tulip18 Linux - Hardware 13 08-04-2003 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration