<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
shlomo solomon wrote:
<blockquote cite="mid:200908112020.03933.shlomo@the-solomons.net"
type="cite">
<pre wrap="">I´m getting disk full messages on /var. According to df, the / partition
(/dev/sda1) is full, but du shows about 90% free space. Kdirstat also shows
90% free. I tried booting from a live CD and the partition is only about 10%
full.
Any ideas what´s going on here and how to fix it?
</pre>
</blockquote>
Was the partition still full after you rebooted the device?<br>
<br>
df gives data on how much space is actually in use. du, on the other
hand, only reports space that is reachable from the directory
structure. If, for example, you had a program that kept a huge file
open, but unlinked from the file system, that would completely explain
the scenario you report.<br>
<br>
Of course, if that's the case, the reboot you did in order to run the
live CD should have freed that space, and so you should see the problem
resolved by now.<br>
<br>
If the problem persist (i.e. - disk is full from the system but free
from live CD), run lsof to check who is keeping files open on the
partition.<br>
<br>
Shachar<br>
<blockquote cite="mid:200908112020.03933.shlomo@the-solomons.net"
type="cite">
<pre wrap="">
here´s a partial listing for df:
[solomon@shlomo1 ~]$ df
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 15G 15G 40M 100% /
/dev/sda6 495M 47M 448M 10% /boot
and here´s a partial listing for du:
[solomon@shlomo1 ~]$ du -x -c /
14M /bin
0 /dev
4.0K /etc/hp
<< snip snip snip >>
512 /data4-music
1.3G /
1.3G total
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>