Link to home
Start Free TrialLog in
Avatar of wingboad
wingboad

asked on

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??
Avatar of dkloes
dkloes

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.
Avatar of wingboad

ASKER

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?
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
ASKER CERTIFIED SOLUTION
Avatar of dkloes
dkloes

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
sorry,i'v forgotten this,because the problem is solved automatically and today i got your answer,thanks.