- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: BDF is showing Wrong Disk Usage!!!
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
10-08-2004 08:16 AM
10-08-2004 08:16 AM
BDF is showing Wrong Disk Usage!!!
The " du -ks " reveals that there is almost half of the volum empty.
We are running Oracle on HP-UX 11i.
Any Ideas? why I am not able to reclaim the space back.
Thanks
Khalid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:19 AM
10-08-2004 08:19 AM
Re: BDF is showing Wrong Disk Usage!!!
YOu can check this using lsof and also using fuser -cu /FS...
Hope this helps
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:22 AM
10-08-2004 08:22 AM
Re: BDF is showing Wrong Disk Usage!!!
You check them with lsof and fuser command. Until the processes are stopped, the space will not be recovered.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:24 AM
10-08-2004 08:24 AM
Re: BDF is showing Wrong Disk Usage!!!
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 08:40 AM
10-08-2004 08:40 AM
Re: BDF is showing Wrong Disk Usage!!!
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2004 11:28 AM
10-09-2004 11:28 AM
Re: BDF is showing Wrong Disk Usage!!!
You'll find this is due to SPARSE file usage, most likely by Oracle for temp files.
Your system will operate fine, but there is lurking problem. The DBA has overcommited storage, and if Oracle will ever actually use it, then it will get a more ugly IO error to go with the device full.
Please do an ADVANCED SEARCH ("more options" at top of this page) for 'bdf' in category hupx for 'subject line only'. You'll find dozens of similar reports and the first replies are always about deleted files still being open.
But so far I have not seen a single confirmation that this was actually the cause of the problem. So far I have frequently seen oracle mentioned at the same time as this problem being reported.
Note, I am not disputing that deleted files, which are still open, may well distort the used block pictures. I just don't think that they are the true cause behind the bulk of the reported mismatches. Those mismatches often do not sound transient, and they are often in the GB space, not MB space. Most system managers / DBA's know when Gigabytes of files are being deleted.
So, for starters I recommend you compare a DU output with ls -l for your oracle datafile directories, notably the one with temp.
And please, do report back.
Did the problem clear after an application stop/restart? Did you find those open+deleted files? Did the problem clear after a system restart, or did it perhpas persist?
btw.. Oracle is not the only application using sparse files, but just a more frequent/reported user.
Hope this helps,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 02:37 AM
10-11-2004 02:37 AM
Re: BDF is showing Wrong Disk Usage!!!
If you have a process that is sending output to a log file and that log file is deleted, the disk space will not free up until the process is killed. Some times it even took a reboot to clear it up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 02:49 AM
10-11-2004 02:49 AM
Re: BDF is showing Wrong Disk Usage!!!
You can find out open files using lsof & then try seeing whats wrong exactly.
I even dont want to contradict on anything..I appreciate explanation by hein.
Hope it helps
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 03:09 AM
10-11-2004 03:09 AM
Re: BDF is showing Wrong Disk Usage!!!
We have found the best course is to trace down the offending process and shut it down gracefully instead of trying to delete files first. Since this creates an untenable situation where you might have to reboot.
We have, on occasion, been able to find the process, shut it down and the 100% full syptom went away. Then restart the oracle process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 03:58 AM
10-11-2004 03:58 AM
Re: BDF is showing Wrong Disk Usage!!!
ps -ef | cut -c42-80 | sort -nr | head
This will show you the top 10 processes that have used CPU and if you had something writng very large files, it will usually show up here as well.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2004 07:37 AM
10-17-2004 07:37 AM
Re: BDF is showing Wrong Disk Usage!!!
... even if files are removed and disk usage in bdf is showing 100%, their inodes are not freed yet. once done, bdf should show you the correct disk usage.
lsof can be used to check this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2004 02:18 AM
10-18-2004 02:18 AM
Re: BDF is showing Wrong Disk Usage!!!
There can be many possibilites but in out case it was the deleted file for open processes. We have allowed DBA to delete files in application tmp directories and this is what happened. It wouldn't happen all the time though only once in a blue moon. Over the weakend when system came to relax a bit, we found the the lost disk space back in the " bdf " output.
I was going to recycle the machine but a quick bdf revealed the disk space is back.
Thanks
Khalid