Re: bdf show discrepancy of disk usage (199 Views)
Reply
Frequent Advisor
George Liu_2
Posts: 72
Registered: ‎04-17-2001
Message 1 of 2 (199 Views)

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

Please use plain text.
Occasional Advisor
Walter Vanmeert
Posts: 8
Registered: ‎05-06-2001
Message 2 of 2 (199 Views)

Re: bdf show discrepancy of disk usage

Hi,

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,

Walter
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation