Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spaces on FS

Status
Not open for further replies.

luan100

IS-IT--Management
Dec 6, 2002
6
US
When I run df . on a FS, it show 95% used. However, du -sk * only show about 80% used. Could you please let me what is wrong here and how to fix it?
 
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.
 
woertz - I don't think that will help - its the same doc !! :)

Alex
 

It's a good doc. Read it again, slowly :)

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
luann100,

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.
 
Hi Henrik

I would like to appear for IBM test :p690 technical support

I am just reading only certificate specified redbook.

Is it okay or Shall I read other materilas? I think this is
the latest exam introduced by IBM?

I have one week time to write the test...PLEASE guide me

Thanks in advance

sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
 
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.
 

Sushveer,
The certification study guides are usually pretty good and sufficient to take the test. I haven't read it myself though.

I can't tell you anything about the test because IBM would come after me. How much experience do you have with the system?

Cheers

Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top