Solved

where's my DISK SPACE ??

Posted on 2001-07-05
5
242 Views
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??
0
Comment
Question by:wingboad
[X]
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
5 Comments
 
LVL 1

Expert Comment

by:dkloes
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.
0
 

Author Comment

by:wingboad
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?
0
 

Author Comment

by:wingboad
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
0
 
LVL 1

Accepted Solution

by:
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.
0
 

Author Comment

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

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

623 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