cancel
Showing results for 
Search instead for 
Did you mean: 

problems using du

 
Highlighted
Fernando Jose P de Souz
Regular Advisor

problems using du

Hi,

 

I have a doubt with du. look for /x0101 (Oracle Binary)

 

Why there is a difference of 1 Gb when I use du?

 

i5800x12:/x0101# bdf

Filesystem          kbytes    used   avail %used Mounted on

/dev/vg00/lvol3    31948800 25509816 6390656   80% /

/dev/vg00/lvol1    1048576  229112  813144   22% /stand

/dev/vg00/lv_u01   20971520 19846528 1121392   95% /x0101

/dev/odm                 0       0       0    0% /dev/odm

/dev/vx/dsk/dgcarga/lvol1

                   61440000 28646865 30783773   48% /cfs/carga

 

i5800x12:/x0101# du -sk .

18912888        .

i5800x12:/x0101#

1 REPLY 1
Highlighted
Dennis Handly
Acclaimed Contributor

Re: problems using du (vs bdf)

There are three states for regions on the disk:

1) free

2) used  (includes metadata)

3) unlinked but still open

 

It is this third state that du doesn't know about since it walks the directory tree.