where's my DISK SPACE ??

Posted on 2001-07-05
Last Modified: 2010-03-18
 today,when i check my free harddisk space by using "df"
i found my /var has used about 168MB,but when i use "du -S
-m |sort -n" in /var,it shown that only less than 50MB used,i don't know why this happened,is there anything wron
g with it??
Question by:wingboad
  • 3
  • 2

Expert Comment

ID: 6260066
Is /var a separate filesystem on your system?  /var is used for temporary files which may account for the difference depending on the type of temporary files that are being created and when they are created/removed.  Try restarting the system and issuing the two commands again if /var is a separate filesystem and provide the output from these two commands for us.

Author Comment

ID: 6263498
yes, /var is a separate fs about 260MB,i've changed the log
file to other partition which used /var/log before,(because
it's too small to record huge logs),but /var/spool/mqueue &
/var/spool/mail need some spaces,it seems that i'd better n
ot to change SENDMAIL's options,right?
 I can NOT restart my server now,because of 7/24 using,so i
just want to know if i use the command i wrote above,it sho
ule tell me all feature of /var space using,is that right?

Author Comment

ID: 6279589
oh,it's ok now,when i check it one day later,it shown me th
e right size,why it won't affect right after i delete files
could you explain it for me,thank you

Accepted Solution

dkloes earned 10 total points
ID: 6463470
You never did show us the output from your commands.  It is hard to give you an answer with the information you provided.  In general, disk space from files that are deleted should show immediately unless there is something else going on but you resolved the problem before we could analyze.  Has this happened again?  In any case, you should problably close this one.

Author Comment

ID: 6469410
sorry,i'v forgotten this,because the problem is solved automatically and today i got your answer,thanks.

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate ( First, just open a new email message. In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now