- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem sizes
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
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
09-12-2006 08:01 AM
09-12-2006 08:01 AM
I wonder if I should increase swap.
============================================
name type size % used VG
============================================
/stand VxFS 512 5 vg00
primary SWAP+D 4096 0 vg00
/ VxFS 1024 43 vg00
/home VxFS 752 0 vg00
/opt VxFS 4608 53 vg00
/tmp VxFS 3072 0 vg00
/usr VxFS 4504 63 vg00
/var VxFS 6144 29 vg00
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:11 AM
09-12-2006 08:11 AM
Re: Filesystem sizes
Filesystem sizes depend on the Operating Environment you load along with addtional software you might add. This applies particulary to '/usr' and '/opt'.
Too, the sizes "necessary" for '/var' (particularly) and to a lesser extent for '/tmp', are heavily influenced by patch activities; the cleanup cycle you do for the IPD (Installed Product Database --- '/var/adm/sw') and things like printing.
The installatino guide offers some basic suggestions:
http://docs.hp.com/en/5991-4794/ch02s02.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:11 AM
09-12-2006 08:11 AM
Re: Filesystem sizes
Always go with the rule of thumb, swap = 2* size of real memory.
Also, look at this thread : http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=94936
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:13 AM
09-12-2006 08:13 AM
Re: Filesystem sizes
Overall not too bad in my opinion
Do you have extra space on the root disk?
If so, look at your % used - /opt and /usr might benefit from and increase in size.
Also - one of HP's quirks /var is patch records go - if you plan to keep the system a while, make sure there is enough room for all the future patches!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:22 AM
09-12-2006 08:22 AM
Re: Filesystem sizes
Also the sizing looks fine but how much space do you have left in the root volume group?? If you needed to, can you increase the filesystems size?
Deoncia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:25 AM
09-12-2006 08:25 AM
Re: Filesystem sizes
I imagine the table is based on really small disk size, like 4GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:31 AM
09-12-2006 08:31 AM
Re: Filesystem sizes
Memory is 5GB and I made swap twice that...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:32 AM
09-12-2006 08:32 AM
Re: Filesystem sizes
Out of curiosity: why do you set up your swap as 2x physical memory? What is your reasoning?
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:36 AM
09-12-2006 08:36 AM
Re: Filesystem sizes
Wrong, wrong, wrong
/tmp should be quite small (200-500MiB) because /tmp is ONLY to be used for OS related scrathpad files; user related scratchpad files go in /var/tmp unless overriden to still another location by setting TMPDIR. The only time /tmp needs to be larger than your current value is if there is some idiotic code that uses /tmp and even then the solution should be to modify the code to use /var/tmp. By having a large /tmp, you are really acting as an idiocy enabler.
The one filesystem that really looks too large is /. It need be no larger than about 256 MiB and that is quite generous.
Swap should be as big as you need and no more. That's really the rule. What I typically do for systems with large amounts of memory is configure 512Mib-1GiB of primary swap (you must have some) and then add additional swap to bring me up to 25% of memory. You then monitor swap usage and add additional swap space as needed. It's so easy to add additional swap as long as you leave some room on the VG's that it is not worth worrying about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:39 AM
09-12-2006 08:39 AM
Re: Filesystem sizes
export TEMP=/var/tmp
export TMPDIR=/var/tmp
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:44 AM
09-12-2006 08:44 AM
Re: Filesystem sizes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:51 AM
09-12-2006 08:51 AM
Re: Filesystem sizes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:52 AM
09-12-2006 08:52 AM
Re: Filesystem sizes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 08:59 AM
09-12-2006 08:59 AM
Re: Filesystem sizes
Whether or /tmp and/or /var/tmp are cleaned up depends upon how the clean_tmps rc script is configured. Generally, it just cleans /tmp but reboots are so infrequent that cleaning temporary directories should really be done by a cronjob (and a well-written one at that).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 09:00 AM
09-12-2006 09:00 AM
Re: Filesystem sizes
Automatically clearing (removing files) in '/tmp' is controlled by the startup script '/sbin/init.d/clean_tmps'.
Setting CLEAR_TMP=1 in 'etc/rc.config.d/clean_tmps' arms the cleaning.
Regards!
...JRF...