- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: bdf reports wrong %used
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
02-10-2004 02:19 AM
02-10-2004 02:19 AM
I'm sure if I reboot server It is reporting correctly but unluckly I can't do it so... How can I force bdf to indicate correct percentage?
Thank You
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:22 AM
02-10-2004 02:22 AM
Re: bdf reports wrong %used
I think you have removed open files, try using a tool like fuser or lsof to locate the processid's of the open file.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:22 AM
02-10-2004 02:22 AM
Re: bdf reports wrong %used
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:22 AM
02-10-2004 02:22 AM
Re: bdf reports wrong %used
You might have deleted the files that are still being accessed by the processes. Until you restart the processes, you will not get the space back.
You will need to use 'lsof' to find such processes. Search the forums for a site to download lsof. It's a must to have on the system.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:30 AM
02-10-2004 02:30 AM
Solutionhttp://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.00/vxfs/64/9000_785/
lsof for 11i 64 bit:
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
lsof for 11.0/11i 32 bit:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.70/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:30 AM
02-10-2004 02:30 AM
Re: bdf reports wrong %used
insert 'bdf du -sk' as keywords in ITRC search; you will get many many helps about this argument (of course, in add of other people in this posting).
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:36 AM
02-10-2004 02:36 AM
Re: bdf reports wrong %used
fuser -cuk /fsname
will kill all open processes on a filesystem. Use with great care.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:40 AM
02-10-2004 02:40 AM
Re: bdf reports wrong %used
You can find the process by
#fuser -u /whichever/file/wasdeleted
You can also do it to the mount point but obviously other files could have processes running.
To kill it you can either ps -ef | grep for the pid you had from the fuser or
#fuser -k /whichever/file/wasdeleted
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 03:03 AM
02-10-2004 03:03 AM
Re: bdf reports wrong %used
Do not remove (log)files without checking for processes that have the file open. You may use fuser BEFORE you remove the file.
If there is no process, you can safely remove the file.
If there is a process, you either stop the process before removing the file, or you empty the file using the command '>filename'.
Indeed one may install lsof, but if you take care you probably don't need it. It can be handy though.
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 08:31 PM
02-10-2004 08:31 PM
Re: bdf reports wrong %used
A last question about this problem:
The real operation done on these file was a "resize" made by DBA.
So I discovered these file are tablespace and process owner is oracle smon e dbw.
My question is: Why doing a "resize" from oracle when filesystem is 100% full does it create this problem and when filesystem isn't full doesn't it happen?
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 01:24 AM
02-11-2004 01:24 AM
Re: bdf reports wrong %used
about your question:
"Why doing a "resize" from oracle when filesystem is 100% full does it create this problem and when filesystem isn't full doesn't it happen?"
If problem doesn't happen when filesystem isn't full then it means that files were removed they were not being used.
These is the focus of the problem, filesystem full or not full is not important to individuate the reason of the bdf problem.
When files are removed (or resized) during a process or more processes are using them, bdf doesn't recognize the freed space. Then it is needed lsof to search out what processes are using what files yet for the system.
I hope this clarifies and answers to your last question.
Best regards,
Ettore