HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- bdf and du conflicting
Operating System - HP-UX
1833772
Members
2019
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 05:31 AM
04-01-2002 05:31 AM
I am running out of space on a particular volume. I have deleted files but still looks like space is being taken up? When I do a du on the directories it does not add up near to what BDF is saying. BDF is saying I am almost out of space and du is not? Anything I can do to clear this up or find out why the system thinks I am using this space? Thank you very much for your time.
A Happy heart makes the face cheerful
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 05:47 AM
04-01-2002 05:47 AM
Solution
The bdf and du tool is totally different. du shows the number of currently allocated blocks and counts the blocks you've just deleted as free but bdf shows the free disk space available. The difference is if a still active process allocated blocks eg for a logfile that you've just deleted, bdf counts these as still occupied. This won't change until the process closes the file (deallocates the blocks) as it usually happens when the process terminates. You need to find that process/processes. If you can't find any, it means these have terminated pre-maturely leaving the space still locks up. A reboot would clear it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 05:50 AM
04-01-2002 05:50 AM
Re: bdf and du conflicting
Have you tried perhaps seeing what processes are still using the volume group.
eg
fuser /dev/vg/lvolname
I have had instances where although the space had been cleared the logical volume has still been in use and does not update the change. You can also perhaps try
fuser -k which will kill the pids using the filesystem, or perhaps stop the pids individually. Once the pid in question is dead the filesystem should show the correct usage.
Harsh measures taken include even unmounting the filesystem, then re mounting
eg
umount/mount /dev/vg/lvol
Cheers
Paul
eg
fuser /dev/vg/lvolname
I have had instances where although the space had been cleared the logical volume has still been in use and does not update the change. You can also perhaps try
fuser -k which will kill the pids using the filesystem, or perhaps stop the pids individually. Once the pid in question is dead the filesystem should show the correct usage.
Harsh measures taken include even unmounting the filesystem, then re mounting
eg
umount/mount /dev/vg/lvol
Cheers
Paul
Argh ye land lovers !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2002 06:08 AM
04-01-2002 06:08 AM
Re: bdf and du conflicting
Hi Larry,
There could have been a file deleted that was still open by a process. bdf will report that space used but du can't find an inode for it to know that space is used.
This often happens when someone removes or renamesa a log file and then recreates it without stopping the log program. syslog.log is one of those.
Darrell
There could have been a file deleted that was still open by a process. bdf will report that space used but du can't find an inode for it to know that space is used.
This often happens when someone removes or renamesa a log file and then recreates it without stopping the log program. syslog.log is one of those.
Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP