- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Root filesystem size problem
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
12-06-2005 08:06 PM
12-06-2005 08:06 PM
We have progress database runing on HPUX and last week i saw the root filesystem 60% free space and today it suddenly decrease to 12% then i restart Progress DB now its came again in normal size ie 60% free size
Pls what would be problem y it happened
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 08:09 PM
12-06-2005 08:09 PM
Re: Root filesystem size problem
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 08:17 PM
12-06-2005 08:17 PM
Re: Root filesystem size problem
du -k / | sort -rnk 1 | more
check this to find most disk using files.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 08:18 PM
12-06-2005 08:18 PM
Re: Root filesystem size problem
temp files would be the cause of the issue.
Please check wether the system has a separate /tmp filesystem or it is part of the / ( root ) filesystem. I supspect this !
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 08:32 PM
12-06-2005 08:32 PM
Re: Root filesystem size problem
and also after restart the db how tmp well clear its automatic process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 08:32 PM
12-06-2005 08:32 PM
Re: Root filesystem size problem
and also after restart the db how tmp file will clear its automatic process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 08:42 PM
12-06-2005 08:42 PM
Re: Root filesystem size problem
As an addition to other replies here are some
useful links for you;
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=626001
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=842012
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=842089
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=226255
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=675915
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=833606
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 01:38 AM
12-07-2005 01:38 AM
SolutionIf /tmp is in the list then itâ s a separate file system, otherwise its part of the root file system. Having it part of the root file system is generally a bad idea because you don't really want to fill up your root file system but filling up /tmp is less an issue and easier to recover from.
Something else to consider is the progress db home directory, whether its on the root file system or not, the db could be creating a startup, run, or shutdown log somewhere that gets removed and re-created when the db restarts.
I have a sneeking suspicion that this is one of those things that you are probably never going to see again but if you do here is a good way to check it.
Run this command before and after you start the database to get an idea of where and what is taking up space on the root file system
du -xk / | sort -nr | head -50 > /tmp/du_before.out
After you restart the db and the space is back to 40% free run the same command except redirect it to /tmp/du_after.out and compare the first few lines of the out files. That should tell you where the log files or what ever are.
H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 01:45 AM
12-07-2005 01:45 AM
Re: Root filesystem size problem
Example:
# bdf /tmp
Filesystem----------kbytes----used---avail-----%used----Mounted on
/dev/vg00/lvol5-----524288---3400--516944-------1%----/tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 04:19 AM
12-08-2005 04:19 AM
Re: Root filesystem size problem
I hope you don't have the DB in the root filesystem. Nothing should be in the root filesystem except OS directories and mountpoints.
As mentioned above, you may have some process writing a temp file to root. Not a good idea. Find the process and change it to write to /tmp. That's what /tmp is there for.
Also, check your .bi and .ai files. As I remember, they can grow quite large, if they are not configured correctly. Use promon to check your configuration.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 06:40 AM
12-08-2005 06:40 AM
Re: Root filesystem size problem
Want /tmp to really be temporary?
Just vi /etc/rc.config.d/clean_tmps and set CLEAR_TMP=1
On next boot - /tmp will be empty!
# cat /etc/rc.config.d/clean_tmps
#!/sbin/sh
# @(#)B.11.11_LR
# List and/or clear temporary files
#
# LIST_TEMPS: Set to 1 to produce a listing of temporary files at startup.
#
# CLEAR_TMP: Set to 1 to remove all files from /tmp at startup.
#
LIST_TEMPS=1
CLEAR_TMP=0
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 06:52 AM
12-08-2005 06:52 AM
Re: Root filesystem size problem
Check if /tmp is a separate FS or its a directory on root.
# bdf | grep tmp
or
# bdf /tmp
Also you can cheeck the root filesystems , largest files with this command:
# cd /
# find / -type f -xdev -exec ls -l {} \; > /tmp/out.txt
# ls -l | sort +4 -5nr | head -30
[ To see 30 largest file ]
And hope fully u can find something , about abnormal space reduction.
hth ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2005 06:56 AM
12-08-2005 06:56 AM
Re: Root filesystem size problem
After find is complete , the command is , instead of : ls -l | sort +4 -5nr | head -30
its,
# cat /tmp/out.txt | sort +4 -5nr | head -30
Hope u can find something , which consuling much space in root. Also u can get this , when the sizeis 12% free and when the size become 60% free , to know what is exactly happening , and where is the difference.
hth,
Raj.