System Administration
Showing results for 
Search instead for 
Do you mean 

bdf show discrepancy of disk usage

Frequent Advisor

bdf show discrepancy of disk usage

[ Edited ]

the output of bdf showed the following:
/dev/vg02/lvol1 4007201 3606487 0 100% /data

the disk was not reclaimed after i deleted a big file and sync. Any idea?




P.S.This thread has been moved from Archived Desktops and Workstations Boards>general to HP-UX > sysadmin- HP Forums Moderator

Occasional Advisor

Re: bdf show discrepancy of disk usage


Did you check if the file (fuser) was not in use before actually removing it.
If it is still in use by a process, the file is removed but the disk space is not being freed up.(this is standard unix behaviour)
The correct procedure is to either copy /dev/null onto the "file in use" or to stop the process(es) using the files and then removing the file.
You'll have to reboot the system now to get your disk space back.
There should'nt be any descrepancies between bdf and du -sk

Hope this helps.

Kind regards,