Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

where's my DISK SPACE ??

 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??
0
wingboad
Asked:
wingboad
  • 3
  • 2
1 Solution
 
dkloesCommented:
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.
0
 
wingboadAuthor Commented:
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?
0
 
wingboadAuthor Commented:
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
0
 
dkloesCommented:
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.
0
 
wingboadAuthor Commented:
sorry,i'v forgotten this,because the problem is solved automatically and today i got your answer,thanks.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now