System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

bdf and du -sk showing different outputs

 
PraveenMotupalle
Occasional Visitor

bdf and du -sk showing different outputs

bdf and du -sk showing different outputs. os version HP-UX 11.23. 40GB filesystem bdf showing 90% full and du -sk output showing 8gb used.
Requesting your help on this.
5 REPLIES
Kanagaraj
Regular Advisor

Re: bdf and du -sk showing different outputs

Hi Praveen,

Please conform me total size of the file system,used size and available free space(bdf output),

It could be reason when ever you are deleting some big files in a file system,it will take time to recontruct the file system to effect with deleted file size.
Kranti Mahmud
Honored Contributor

Re: bdf and du -sk showing different outputs

Hi Praveen,

bdf provides the output of the mount points in %, on the other hand, du -sk shows the size of any directory in kilobytes.

So, plz clarify what the issue U raising here as I am not clear about it.

Rgds-Kranti
Dont look BACK as U will miss something INFRONT!

Re: bdf and du -sk showing different outputs

Most likely you have deleted files that a running process still has open. That free space will not be returned until the process holding the file open terminates (or at least closes the file).

To see files and processes in this state use lsof as follows:

lsof +L1 | grep REG

if you don't have lsof, get it here:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/

HTH

Duncan

HTH

Duncan
Sridhar R
Regular Advisor

Re: bdf and du -sk showing different outputs

Hi Praveen,

Kindly post the bdf output and du -sk outputs.


#bdf
#cd /
# du -sk


Thanks & Regards
Sridhar
PraveenMotupalle
Occasional Visitor

Re: bdf and du -sk showing different outputs

We restarted the application; now everything working fine..

Thanks a lot for your help.