Operating System - HP-UX
1836452 Members
2553 Online
110101 Solutions
New Discussion

Re: bdf and du discrepancy

 
Ian Killer_1
Regular Advisor

bdf and du discrepancy

Hi gurus...

I have this situation similar to before...
http://forums.itrc.hp.com/cm/QuestionAnswer/0,,0x91c63a7b3682d611abdb0090277a778c,00.html

This time bdf reports 125 mb and du reports 60mb, but there are no stale nfs mounts.

Here are the reports...
# bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 131072 125811 5002 96% /

# di /
Filesystem Mount Megs Used Avail %used fs Type
/dev/vg00/lvol3 / 128.0 122.6 5.1 96% vxfs

# du -xk / | sort -rn | more
60836 /
36436 /etc
31174 /etc/opt
28426 /etc/opt/OV
28425 /etc/opt/OV/share
21078 /etc/opt/OV/share/conf
17969 /sbin
7661 /etc/opt/OV/share/conf/analysis
7300 /etc/opt/OV/share/conf/analysis/reportTemplates
5703 /nsr
5233 /nsr/jukebox
4016 /etc/opt/OV/share/bitmaps/C
4016 /etc/opt/OV/share/bitmaps
3684 /sbin/fs
3147 /etc/opt/OV/share/conf/ecs
Where ever the gypsies rome.
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: bdf and du discrepancy

Spares files?

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x308b402f24d5d61190050090279cd0f9,00.html

or search on +bdf +du, it's an age-old question (with no perfect answer, I'm afraid).

Pete

Pete
Sandip Ghosh
Honored Contributor

Re: bdf and du discrepancy

You can try with lsof to find out the sparse file.

Sandip
Good Luck!!!
Ian Killer_1
Regular Advisor

Re: bdf and du discrepancy

I've never used lsof before. I have it compiled and working on this box though. What are the useful parameters the use and what should I look for in the output?
Where ever the gypsies rome.
Ian Killer_1
Regular Advisor

Re: bdf and du discrepancy

Here's my lsof / output.
Where ever the gypsies rome.