Operating System - HP-UX
1835360 Members
3348 Online
110078 Solutions
New Discussion

#bdf output is more than #du

 
SOLVED
Go to solution
GIRIJA SWAIN
Advisor

#bdf output is more than #du

Hi,
I have hp-ux 11.0 and vxfs filesystem. The #bdf swows one filesystem is 98% full (ie 3,5gb) but actuall files are only 1.75gb. If i use #du -k it gives me the actual size. this is a production server. can I any way reduce the filesystem usage reported by #bdf without rebooting or unmounting the file system.
GSS-PALO-ALTO
3 REPLIES 3
Michael Tully
Honored Contributor
Solution

Re: #bdf output is more than #du


You will most likely find that the process that belonged to the large file that has been
removed but the process itself is still running. You need to identify this process and kill it. You could try 'fuser /dev/vg02/lvol1' and try to trace the offender. If you have 'lsof' this will also help by using 'lsof -i'

Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: #bdf output is more than #du

GIRIJA SWAIN
Advisor

Re: #bdf output is more than #du

Hi Thanks for the input. I used the #fuser -u /dev/vg02/lvolxx it gives me atleast 500 processes associeted with open files. I will not be able to trace the ones creating problem. I tryed the #lsof and its a 32 bit command. I am using 64bit HP-UX.
GSS-PALO-ALTO