- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swapon command on HPUX 11iv1
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
01-10-2008 12:57 PM
01-10-2008 12:57 PM
Thanks for your help.
Leslie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 12:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 01:24 PM
01-10-2008 01:24 PM
Re: Swapon command on HPUX 11iv1
http://docs.hp.com/en/B2355-90950/ch06s03.html#gdpri
The primary swap space is recorded in the BDRA of the boot disk so there is no need for its inclusion in the fstab file. Other swap areas that are initialized should be recorded in the the fstab file. If all swap areas are equally fast then they should have equal priority in order to maximize the benefits of interleaving. However filesystem swap should have lower priority than device swap. Read all about it in the link posted above.
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 03:12 PM
01-10-2008 03:12 PM
Re: Swapon command on HPUX 11iv1
Not sure what ... means in the line for the fstab file. Are you refering to any entry or literally "...".
I have seen this for an entry:
/dev/vg00/lvol12 / swap pri=1 0 2
Will this work for mine?
It seems that serveral replies refer to adding a line to fstab using ... but not many are the same as far as using pri=3 0 3, some use pri=0 2,
what is the difference?
Thanks,
Leslie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 03:43 PM
01-10-2008 03:43 PM
Re: Swapon command on HPUX 11iv1
As for priority of your swap devices, I'd make the secondary swap device on vg00 a different priority value (e.g. 0, 2 or 3) than the primary device swap which has a priority of one (1). The device with the lower value will have first preference.
While this doesn't matter if you are not actually swapping (and you don't want to come to that!), in the event that actual swap I/O does occur, you will not degrade your vg00 performance as badly as when priorities are equal and I/O to the swap devices is interleaved. Having different priorities means that the device with the higher priority (lower number) will be used first; then the lower priority device.
As Tim noted, if you don't update 'fstab' with the swap declaration, your additional swap will not be activated after a reboot. The primary swap device is NOT declared in 'fstab' --- only secondary ones.
# /dev/vg00/lvol12 ... swap pri=2 0 0
If on the other hand my secondary swap where on a non-vg00 volume group, I might give priority to it over my primary swap on vg00 with:
# /dev/vg01/lvol1 ... swap pri=0 0 0
Giving the secondary swap on a non-vg00 volume group the preference means less I/O to/from vg00 *IF* you actually swap. After all, if you start swapping you don't want to add pain to pain :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 03:59 PM
01-10-2008 03:59 PM
Re: Swapon command on HPUX 11iv1
Tried to look at other docs, but still not sure what to put in the fstab?
Thanks,
Leslie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 05:58 PM
01-10-2008 05:58 PM
Re: Swapon command on HPUX 11iv1
> Ok, but what does ... mean? Is it a place holder or is it represention for other options?
Yes, indeed, '...' is a place-holder. Look at the manpages for 'fstab(4)':
http://www.docs.hp.com/en/B2355-60127/fstab.4.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2008 09:11 AM
01-11-2008 09:11 AM
Re: Swapon command on HPUX 11iv1
Leslie