Operating System - HP-UX
1745840 Members
4328 Online
108723 Solutions
New Discussion юеВ

bdf and du -sk showing different outputs

 
PraveenMotupalle
New Member

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 5
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

I am an HPE Employee
Accept or Kudo
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
New Member

Re: bdf and du -sk showing different outputs

We restarted the application; now everything working fine..

Thanks a lot for your help.