no space left?

Shu Hung (Koala) koala at dg21.com
Mon Oct 25 01:47:05 UTC 2004


Hello,

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:

    [root at fileserver /]# df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda5 20641788 20423212 0 100% /
    /dev/hda1 77749 6027 67708 9% /boot
    none 258572 0 258572 0% /dev/shm
    /dev/hda3 41286828 33943560 5245984 87% /home
    /dev/hda2 41286828 28212268 10977276 72% /home1
    /dev/hda6 11045160 289648 10194444 3% /usr/local
    /dev/hdb1 37950436 32828 35989812 1% /backup1
    /dev/hdb2 38970244 26929956 10060680 73% /backup2

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.

    [root at fileserver /]# du -xs
    3143225 .

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?


Koala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041025/4273db3e/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3467 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20041025/4273db3e/attachment-0001.bin>


More information about the fedora-list mailing list