I am a little bit confuse about the meta data you talking about on the doc.
If I run df . command on the FS, I got:
tranat@nsrm02:/usr/lpp/netviewdm/repos
--> df .
Filesystem Total KB free %used iused %iused Mounted on
/dev/lv05 2015232 92504 95% 551 0% /usr/lpp/netviewdm/repos
If I run du -sk to calculate on directories/files locally on that FS, the total is 528292KB. That means I should have about ~1.5GB free, not 92504. Could you please explain?
Thanks.
this might help: Why Numbers from "du -s" and "df" Disagree
This document describes why numbers returned by du -s and df are inconsistent. The document applies to AIX Versions 4 and above.
try df -k rather than just df. df gives you space info with block sizes of 512 byte blocks. df -k gives you the info in 1024 byte blocks, which is also the size you get when you use du -sk. du -k will get the sizes you are comparing with the results with du -sk a little closer, but they still will not be exactly the same.
If you do not defrag your free space periodically you might have some free blocks trapped and unusable. Try running a defragfs on the system and see if the numbers are closer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.