----- Original Message ----- 
From: "Ugo Bellavance" <[EMAIL PROTECTED]> 
To: centos@centos.org 
Sent: Thursday, November 22, 2007 10:37:31 AM (GMT+1000) Australia/Brisbane 
Subject: [CentOS] HDD usage oddity 

Hi, 

2 of my Centos4 servers are showing weird behavior. 

[EMAIL PROTECTED] ~]# du -sh /var/ 
1.8G /var/ 
[EMAIL PROTECTED] ~]# df -h /var 
Filesystem Size Used Avail Use% Mounted on 
/dev/sda7 4.3G 3.9G 181M 96% /var 

[EMAIL PROTECTED] var]# df -h /var 
Filesystem Size Used Avail Use% Mounted on 
/dev/sda7 2.9G 2.7G 0 100% /var 
[EMAIL PROTECTED] var]# du -sh /var/ 
1.6G /var/ 

du seems to be reporting the right size 

Anyone seeing this? 

_______________________________________________ 
CentOS mailing list 
CentOS@centos.org 
http://lists.centos.org/mailman/listinfo/centos 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 


Did you recently tidy up /var by deleting some files ? I think I've seen this 
sort of behaviour when you, for example, move and compress /var/log/messages 
without restarting syslog. It would seem that the storage isn't freed up until 
any process using it is restarted. 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to