Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
System Administration
Showing results for 
Search instead for 
Did you mean: 

bdf show discrepancy of disk usage

George Liu_2
Frequent Advisor

bdf show discrepancy of disk usage

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

Walter Vanmeert
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,