<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=Big5" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
I have a fileserver which runs FC2. Recently, the system keep telling
me that the partition for / has no space left. I use the command "df"
to check things up. This is the result:<br>
<blockquote><font face="Courier New">[root@</font><small><font
face="Courier New"><big>fileserver</big></font></small><font
face="Courier New"> /]# df<br>
Filesystem 1K-blocks Used Available Use% Mounted on<br>
/dev/hda5 20641788 20423212 0 100% /<br>
/dev/hda1 77749 6027 67708 9% /boot<br>
none 258572 0 258572 0% /dev/shm<br>
/dev/hda3 41286828 33943560 5245984 87% /home<br>
/dev/hda2 41286828 28212268 10977276 72% /home1<br>
/dev/hda6 11045160 289648 10194444 3% /usr/local<br>
/dev/hdb1 37950436 32828 35989812 1% /backup1<br>
/dev/hdb2 38970244 26929956 10060680 73% /backup2</font><br>
</blockquote>
Then, I tried to find out what exactly is occupying the space. I use
the command "du -xs" to see the space used in the filesystem. This is
the result.<br>
<blockquote><small><font face="Courier New"><big>[root@fileserver /]#
du -xs<br>
3143225 .<br>
</big></font></small></blockquote>
God! You see the "du" shows the / partition only used 3.0G but "df"
shows ALL 20G have been used! What is going on? What should I do to
free the spaces?<br>
<br>
<br>
Koala<br>
</body>
</html>