- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: which process is still using deleted files
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
Discussions
Discussions
Forums
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
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
тАО08-08-2010 10:56 PM
тАО08-08-2010 10:56 PM
which process is still using deleted files
We have deleted some files but the file system space is not getting reclaimed. how to check which process is still using deleted files in hp ux
Thanks in advance.
Panneer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 11:15 PM
тАО08-08-2010 11:15 PM
Re: which process is still using deleted files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 11:24 PM
тАО08-08-2010 11:24 PM
Re: which process is still using deleted files
database file.
tbs1_tmp01.dbf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 11:28 PM
тАО08-08-2010 11:28 PM
Re: which process is still using deleted files
Restart application.
Use lsof utility.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=110362
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 11:31 PM
тАО08-08-2010 11:31 PM
Re: which process is still using deleted files
shutdown/Start up your database will solve your issue.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2010 11:31 PM
тАО08-08-2010 11:31 PM
Re: which process is still using deleted files
you need to restart db.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-09-2010 06:39 AM
тАО08-09-2010 06:39 AM
Re: which process is still using deleted files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2010 04:36 PM
тАО08-10-2010 04:36 PM
Re: which process is still using deleted files
Use this command to identify the processes which use the already deleted files:
# lsof +D / +L1
Look for the files with NLINK count of zero.
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 01:47 AM
тАО08-11-2010 01:47 AM
Re: which process is still using deleted files
But in this case, you know which file it is, so you might also know which database had that file. That means that you or your DBA should be able to find which database and which databases process is using the file (possibly all processes of the database, if it's the temporary tablespace for your oracle database, for instance). Restarting the database should solve your issue from a Sysadmin point of view, though I suspect it means the database is broken from a DBA point of view...