1835408 Members
2797 Online
110078 Solutions
New Discussion

bdf question

 
Robert Grabowy
Advisor

bdf question

I have a user moving some large files from one filesystem to another(seperate lvols). When I do a bdf on the source filesystem, it shows the same size before the move began. A du command shows the correct size and files in the filesystem. Several hours have passed and bdf has yet to display the correct size used. Does anyone know why this is happening?
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor

Re: bdf question

Hi:

The first thing that I would try is to install the latest cumulative patch for your OS version. There have been several bdf fixes.
If it ain't broke, I can fix that.
John Payne_2
Honored Contributor

Re: bdf question

Was it an open file? Do you have lsof installed to see? If it was an open file and you restart the process that is holding it open, bdf will start reporting the correct value. (If you can't restart iwthout a reboot, so be it...)
Spoon!!!!
Helen French
Honored Contributor

Re: bdf question

Hi Robert,

A two to three hour completion is not an unusual response time for the 'bdf' command. The 'du' command, on the other hand, immediately reports free disk space.

'du' checks for file existence, whereas 'bdf' also accounts for reserved space. The 'bdf' command will not report available disk space until the process that reserved the space closes. For example, if you remove the syslog.log file, 'bdf' will not report the space until syslogd dies.

The best try is to apply the latest patches !

HTH,
Shiju
Life is a promise, fulfill it!
Helen French
Honored Contributor

Re: bdf question

Robert Grabowy
Advisor

Re: bdf question

Thanks for the quick reply. I tried to install lsof for 11.0 but it complains that it was built for a 32 bit kernel(even though I downloaded the hpux 11.0 version). Anyways, I'll keep an eye on it because I think the files are mostly log files. Thanks to everybody for the help.
T. M. Louah
Esteemed Contributor

Re: bdf question

You should be able to get the 11 version. To install do:

# cp lsof-X.XX-sd-11.00.depot.gz /tmp/lsof-X.XX-sd-11.00.depot

then

# swinstall -s /tmp/lsof-X.XX-sd-11.00.depot

follow the interaction, you should be able to install it properly.

G`d luck
t+-

Little learning is dangerous!
Robert Grabowy
Advisor

Re: bdf question

Sorry, I don't think I properly communicated the issue I had w/ lsof. It installed fine(or at least no erros where displayed during the install process) but when I tried the execute the command it came back with that error.