Operating System - HP-UX
1830178 Members
2241 Online
109999 Solutions
New Discussion

disk usage not showing correct values

 
SOLVED
Go to solution
Dave Chamberlin
Trusted Contributor

disk usage not showing correct values

Hello,
I have two oracle data disks, one has only a 2.5G tempfile, the other has 4 1G+ files. Doing BDF shows the 2.5G file as about 2M, while the other disk is correct. A du -sk also shows the 2.5G file as 2.x M. An ls -l shows the file as 2.5GB. I have attached image o0f the output. What is going on here?
1 REPLY 1
Hein van den Heuvel
Honored Contributor
Solution

Re: disk usage not showing correct values


Oracle TEMP files are SPARSE files. They do not actually take up space untill used (if ever).

Find earlier discussions google for: +oracle +sparse +temp

Add +site:itrc.hp.com and you'll find tow relevant prior topics here:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=992825
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=957571

hth,
Hein.