<html><head><style type='text/css'>body { font-family: 'Arial'; font-size: 12pt; color: #000000}</style></head><body><br>----- Original Message -----<br>From: "Ugo Bellavance" <ugob@lubik.ca><br>To: centos@centos.org<br>Sent: Thursday, November 22, 2007 10:37:31 AM (GMT+1000) Australia/Brisbane<br>Subject: [CentOS] HDD usage oddity<br><br>Hi,<br><br> 2 of my Centos4 servers are showing weird behavior.<br><br>[root@server1 ~]# du -sh /var/<br>1.8G /var/<br>[root@server1 ~]# df -h /var<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/sda7 4.3G 3.9G 181M 96% /var<br><br>[root@server2 var]# df -h /var<br>Filesystem Size Used Avail Use% Mounted on<br>/dev/sda7 2.9G 2.7G 0 100% /var<br>[root@server2 var]# du -sh /var/<br>1.6G /var/<br><br>du seems to be reporting the right size<br><br>Anyone seeing this?<br><br>_______________________________________________<br>CentOS mailing list<br>CentOS@centos.org<br>http://lists.centos.org/mailman/listinfo/centos<br><br>-- <br>This message has been scanned for viruses and<br>dangerous content by MailScanner, and is<br>believed to be clean.<br><br><br>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.<br><br><br></body><br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</html>