- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap Help
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
08-09-2001 07:45 AM
08-09-2001 07:45 AM
I don't have swap shortage issue, but some doc indicates fstab should have an entry for sway file. Our K260 came as having no primary entry on fstab, but swapinfo does show that we have that on one lvm.
Just would like to confirm again with HP guru: would that means it is loaded or not?
Thanks,
Steven
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 07:53 AM
08-09-2001 07:53 AM
Re: Swap Help
Your primary swap is *not* represented in /etc/fstab. If you place an entry there, as you would for additional device swap, then you will get an error at boot/startup, since activation of the primary swap device will be attempted twice.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 08:05 AM
08-09-2001 08:05 AM
Re: Swap Help
Runing the command "swapinfo -a" will show you the configured swap area on your system.
For information, there are 2 kinds of swap :
Device Swap and File System Swap.
For device swap (which is usually /dev/vg00/lvol2 on a standard installation of HP-UX), you don't have of course an entry in /etc/fstab, because the swap is directly R/W from the device (this is more efficient)
But for FS swap, if you want to activate it at boot, you have to modify an add an entry in /etc/fstab.
swapinfo -a, in the first column, show you what type of swap is concerned.
PJA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2001 08:15 AM
08-09-2001 08:15 AM
Re: Swap Help
/etc/fstab contains a list of mountable file-system entries. for those entries, just to make sure they are enabled at every system boot. You cannot see the swap info if you have no entry in your /etc/fstab after system reboot. However, a system needs at least one device swap area as primary swap area, by default, it is located on the same disk as the root file system. After system boot, you can use swapon -a to enable all entried in /etc/fstab.
For swapinfo, it lists every configured swap areas and reports what percentage of each is currently in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2001 05:46 AM
08-10-2001 05:46 AM
Re: Swap Help
When installing hp-ux you got automaticaly the device swap. This you must not integrate it in /etc/fstab ( conflicts will happen ).
But if you manualy create a new file system swap ( for better performance for example ) in this case you need to manually add it in /etc/fstab so that in the next boot it will be mounted.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2001 06:07 AM
08-10-2001 06:07 AM
Re: Swap Help
I am also going to repeat the same thing
(Yes ofcourse with the hope of getting some marks :-)
Yes..Some doc may say U have to have an entry for swap in the /etc/fstab..
But this is not true for Primary Swap..
U are always going to have a raw lv as ur primary swap which will be automatically enbaled at boot..
Only in the case that Primary swap is not good enough to handle ur VM load then U are going to add additional swap space to the system.
And here U are having the option of selecting between Raw lv or a File system.
in that case U are going to add entry to the /etc/fstab ..
Hope I am clearing (again) U.
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2001 06:29 AM
08-10-2001 06:29 AM
Re: Swap Help
The replies you have received are correct but I actually do make an /etc/fstab entry (of sorts) for primary swap. I find it useful to insert an entry as a comment ('#') so that other admins don't help me out (or myself in a moment of mental challenge) and find some 'unused' space just begging to be used.
Clay