- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Where to put my swap
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
03-10-2004 08:45 PM
03-10-2004 08:45 PM
I am just in the process of upgrading it from HP-UX 10.20 to HP-UX 11.11. It is used as a host for my users home directories which are NFS mounted to the other machines on the network and also a primary DNS/NIS server. ( I have a small network of around a dozen users, no connection to 'the outside world').
Clearly my root disk will be an internal 4Gb disk; I want to use the other 4Gb disk for /home. that leaves me with the external 2Gb disk...
My thought's are to put /tmp and swap on it. Whilst I know I can put swap on it, do I also have to have some in vg00? or can I put it all on the 2Gb disk (4Gb is a bit tight for the root disk, hence wanting to move /tmp & swap off it completely).
Any other suggestions as to where to put the various file systems would be welcome.
BTW, I was going to size the swap at 512Mb - my current (temporary) home/DNS/NIS server seems to be using around 200Mb.
Thanks,
Gary Cooper
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 08:48 PM
03-10-2004 08:48 PM
Solution-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 08:52 PM
03-10-2004 08:52 PM
Re: Where to put my swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 08:53 PM
03-10-2004 08:53 PM
Re: Where to put my swap
/dev/vg00/lvol3 250 mb /
/dev/vg00/lvol1 100 mb /stand
/dev/vg00/lvol7 650 mb /var
/dev/vg00/lvol6 700 mb /usr
/dev/vg00/lvol5 250 mb /tmp
/dev/vg00/lvol4 1000 mb /opt
/dev/vg00/lvol2 600 mb
swap 2,5 X internal mem
Above is my configuration for a small sized server, you could move some mb's from opt to var and usr in yours. the 4 GB should be enough for your OS plus swap.
Hope this helps a bit,
Kind regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 09:38 PM
03-10-2004 09:38 PM
Re: Where to put my swap
Thanks Mark - that was exactly the information I needed.
Possible at the risk of getting sidetracked here, but...
Would it be better to bundle the 4+2Gb disks into one volume group? That way, /var (e.g.) could be on both disks. What are the performance implications of doing this rather than putting the 2Gb disk in a separate VG?
The other thing is Robert-Jan's figures for a small server. I have a D250 which is currently doing what my D270 is going to do. All it's got on it is HP-UX 11.11, pretty much straight out of the box, no third-party applications. It is currently using
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 143360 84680 58272 59% /
/dev/vg00/lvol1 295024 44480 221040 17% /stand
/dev/vg00/lvol8 524288 426840 97288 81% /var
/dev/vg00/lvol7 1433600 1078728 352160 75% /usr
/dev/vg00/lvol6 262144 11288 248960 4% /tmp
/dev/vg00/lvol5 2097152 1443592 648504 69% /opt
/dev/vg01/lvol1 4186112 2051669 2009481 51% /home
I.e. your figures for /opt & /usr are certainly too low, but the interesting one is /standâ ¦ in fact, itâ s interesting on two counts. Firstly the bdf output figures donâ t add up â thereâ s about 30Mb missing! The other thing is that the HP-UX installation seems to offer a default size of 300Mb. This seems to be way overkill. None of my machines (11 in all) use more than about 57Mb of /stand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 10:05 PM
03-10-2004 10:05 PM
Re: Where to put my swap
/stand is a hfs filesystems use about 10 percent overhead, this normal behavior.
Using the 2 GB disk in your vg00 is an option, and yes you could use /var on both disks. If you only install OS data in vg00 I don't think you will loose performance.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 10:31 PM
03-10-2004 10:31 PM
Re: Where to put my swap
http://docs.hp.com/hpux/os/11i/index.html#Installing%20and%20Updating
Regards,
Trond
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 10:48 PM
03-10-2004 10:48 PM
Re: Where to put my swap
To me, with a system of minimal size like this, I would be tempted to put everything into vg00. That way you'll have maximum flexibility in sizing filesystems and swap space, yet you're not introducing any "non-root" data other than /home.
I also think you're going to be very lucky to get anywhere near acceptable performance out of this system with only 256MB RAM. You might want to start pricing memory upgrades. Perhaps on the used market to save some money?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2004 11:58 PM
03-10-2004 11:58 PM
Re: Where to put my swap
I think I'm going to to as you suggest and combine the 2Gb & 4Gb disks into vg00.
Thanks again,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2004 12:03 AM
03-11-2004 12:03 AM
Re: Where to put my swap
We've been running this machine for the same purpose for a few years now with 10.20 and the performance was OK.
The machine is getting a bit long in the tooth and I suspect we'll replace it in the not too distant future (certainly if any of the hardware goes end-of-life).
Thanks again,
Gary