- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: deleted file still occupying space
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
тАО11-14-2010 03:57 AM
тАО11-14-2010 03:57 AM
Re: deleted file still occupying space
Which is more important, those processes or the space?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2010 11:15 AM
тАО11-14-2010 11:15 AM
Re: deleted file still occupying space
the lsof command does not show any entries from /u10
So will deleting the other processes help. For sure space is imp, but i dont want to screw something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2010 12:00 PM
тАО11-14-2010 12:00 PM
Re: deleted file still occupying space
You don't know what each file has, only the filesystem. But you do know the process and the owner. That the info you can use to figure out what's more important.
>the lsof command does not show any entries from /u10
Then there is nothing you can do. Somebody is lying to you. You might want to see if you regain that space after some future reboot.
>So will deleting the other processes help. space is imp, but I don't want to screw something.
No, not if it is a different filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2010 02:46 PM
тАО11-15-2010 02:46 PM
Re: deleted file still occupying space
Have you checked ALL nodes that use the OCFS partition? Could a node other than the one you are logged into be holding the files open?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2010 02:40 AM
тАО11-16-2010 02:40 AM
Re: deleted file still occupying space
i had checked on both nodes of my cluster. my partition /u10 is not seen in
lsof | grep deleted
the current partition doesnt contain anything related to production. i can try to umount it and remount it.... provided it allows me to.
my concern is, if this happens in my production mountpoint tomorrow, i sud be able to handle it. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 05:59 AM
тАО11-17-2010 05:59 AM
Re: deleted file still occupying space
not sure, u might have alrady tried all these, but just for your information.
If you use just lsof, it will show lot of entries, please try to use something like this
#lsof /u01 | grep -i deleted
as you stated, yes i understand, no deleted open files. can u also check the list of process using /u01 filesystem? by fuser, and try to understand which process can be killed.
Such issues, shuld be solved without a server reboot... good luck.... please post the solution without fail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 07:26 AM
тАО11-17-2010 07:26 AM
Re: deleted file still occupying space
http://www.idevelopment.info/data/Oracle/DBA_tips/OCFS2/OCFS2_5.shtml
It may shed some light on the problems you are having.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 11:04 AM
тАО11-17-2010 11:04 AM
Re: deleted file still occupying space
looks like the idevelopment.info like mite help me.
rpm -qa shows ocfs2 version as 1.4.0
the partition in question is not in production.
so shall i umount it from all nodes and do a fsck.ocfs2 -fy /dev/sdi1 without stopping the clusterware?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2010 11:06 AM
тАО11-19-2010 11:06 AM
Re: deleted file still occupying space
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2010 12:24 AM
тАО11-22-2010 12:24 AM
Re: deleted file still occupying space
Try this example.. it should work. kill all the process which has the nlink count as 0.
lsof +L1 /u300 | sort -nr +7
Cheers,
Saleem