- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FS size growing
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
07-10-2009 04:17 AM
07-10-2009 04:17 AM
my mountpoint /oracle growing rapidly.
but ls -lrt not shows nothing
can anybody tell how to check last modified or last created files..
quick response highly appreciated
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 04:22 AM
07-10-2009 04:22 AM
Re: FS size growing
You can use -m (mtime) with find command to see modified file.
Regards
Sanjeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 04:23 AM
07-10-2009 04:23 AM
Re: FS size growing
Use 'lsof' to see if you have unlinked open files. These are commonly temporary files that are opened and immediately unlinked (removed). When the last process using them terminates, then and only then will there allocated disk blocks be returned to the system.
You can find the process(es) by looking for a file with a zero link count:
# lsof +D /oracle +L1
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 04:25 AM
07-10-2009 04:25 AM
Re: FS size growing
please explain this mount point is being used for which purpose?
is oracle installed in this mountpoint?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 04:39 AM
07-10-2009 04:39 AM
Re: FS size growing
You can compare the bdf and du outputs. If there is a difference in usage then use lsof to find out which process having open files on it.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 04:56 AM
07-10-2009 04:56 AM
Re: FS size growing
thanx for ur replies..
server is B.11.23
lsof not there
while i tried to open man page of lsof it says no manul entry..
/oracle is home dir
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 05:02 AM
07-10-2009 05:02 AM
Re: FS size growing
> lsof not there
So, download it from the HP Porting Centre. Installation is done with 'swinstall'; includes manpages; and no reboot is required to install it:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.82/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 05:02 AM
07-10-2009 05:02 AM
Re: FS size growing
You need to download it from here and install it.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.82/
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 05:09 AM
07-10-2009 05:09 AM
Re: FS size growing
thanx for the link
but since its a live server i cannot install now.
plz tell me any alternative ways..
i think using find command is it possible to track latest generated files or modified files
plz help on this
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 05:12 AM
07-10-2009 05:12 AM
Re: FS size growing
I bet you, a clever dba is performing a database dump and placing the ascii file unde oracle, either deliberately, assuming it has infinite space, or they made a typo and accidentally doing this. Talk to you dba's if you are not able to install the lsof tool. But in the long run, lsof is an invaluable tool that should be on every sysadmins list to install as an add-on.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 05:16 AM
07-10-2009 05:16 AM
Re: FS size growing
in the faceof what you say might be true, try running a find statement as follows:
find /oracle -xdev -mtime -1 >/tmp/filelist
this will give you the files modified in the last day. Then you can go over these files to see what is taking up so much space.
Or you can do this if you want
find /oracle -xdev -mtime -1 | xargs ll | more
to see the file sizes on the fly
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 05:18 AM
07-10-2009 05:18 AM
Re: FS size growing
> thanx for the link
but since its a live server i cannot install now.
Remember, there is NO REBOOT required and installation takes just a few minutes.
> i think using find command is it possible to track latest generated files or modified files
Well, yes, 'find' can do this as long as the link-count remains greater than one. (Re-read my post above). You could try:
# find /oracle -type f -mtime 0 -exec ls -l {} +
...to find files modified within the last 24-hours.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 06:09 AM
07-10-2009 06:09 AM
Re: FS size growing
i want to check hidden file -
i used ls -la-nothing shows
any other options?
/oracle>ls -lrt
total 117160
plz tell me what total 117160 indicates
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 06:53 AM
07-10-2009 06:53 AM
Re: FS size growing
> i want to check hidden file - i used ls -la-nothing shows any other options?
In one sense, "hidden" files are simply those that have a dot ('.') as their first character. By default, root always lists them.
However, read on.
> /oracle>ls -lrt
> total 117160
> plz tell me what total 117160 indicates
This is the total blocks used by the directory.
I am beginning to think that Mel is right. You have "hidden" files because you have over-mounted. If anything was written to the /oracle directory when it was _NOT_ mounted, and then the directory was mounted, the files first written are "hidden" from view.
I would unmount /oracle and look again at the /oracle directory while it is unmounted.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 07:50 AM
07-10-2009 07:50 AM
Re: FS size growing
thanx a lot for ur help.
As recommended James and Ganesan, i have installed lsof in the server and found around more than 1000 unlinked open processes.We are going to restart the DB now.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 08:36 AM
07-10-2009 08:36 AM
Re: FS size growing
issue solved!!!
we restarted the DB.All unlinked open files killed.
lsof +D /oracle +L1 - did wonderful job.
thanks james..
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2009 08:37 AM