Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


where's my DISK SPACE ??

Posted on 2001-07-05
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 30 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

715 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