- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to increase swap area?
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-13-2002 04:59 AM
08-13-2002 04:59 AM
How to increase swap area?
I have following question.
The /dev/vg00/lvol9
should be used as swap device.
And I receive error
Monitors/GlancePlus from this memory problem:
???Global swap space nearly full???
What I should to do...
Beside I see in fstab file /dev/vg00/lvol9 / dump defaults 0 0
Something wrong ? :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:02 AM
08-13-2002 05:02 AM
Re: How to increase swap area?
What does "bdf" tell you?
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:03 AM
08-13-2002 05:03 AM
Re: How to increase swap area?
swapinfo
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:04 AM
08-13-2002 05:04 AM
Re: How to increase swap area?
Thanks for fasgt answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:05 AM
08-13-2002 05:05 AM
Re: How to increase swap area?
Based on the /etc/fstab entry, /dev/vg00/lvol9 is being used for a crash dump and not a swap device.
If you want to add another swap device, place it other than on vg00. Set the swap priority to be the same as your primary swap device. This will interleaving I/O to occur between your primary and your new secondary device, improving performance.
A reboot is not required to add additional swap space unless you first need to increase the 'maxswapchunks' kernel parameter.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:06 AM
08-13-2002 05:06 AM
Re: How to increase swap area?
swapinfo output:
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 790528 0 790528 0% 0 - 1 /dev/vg00/lvol2
reserve - 790528 -790528
memory 3406196 3212428 193768 94%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:06 AM
08-13-2002 05:06 AM
Re: How to increase swap area?
Well lvol9 shouldn't appear in bdf.
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:08 AM
08-13-2002 05:08 AM
Re: How to increase swap area?
a) for configuring an additional device swap, you can just go to SAM and create a new LV and specify it as swap.
b) But the message you are getting can be mis-leading. Check this document that clearly says about the same situation and solution:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058668745
Doc ID - KBRCKBAN00000561
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:13 AM
08-13-2002 05:13 AM
Re: How to increase swap area?
your swapinfo output doesn't show the swap usage at all. This is what I said before and look for the solution at the document given.
Another thing is, your lvol9 is already configured as dump volume, you need to find some other disk space to configure it as swap
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:30 AM
08-13-2002 05:30 AM
Re: How to increase swap area?
I'll give you fstab file from another machine which sholuld be configuread the same way (idea)
/dev/vg00/lvol3 / hfs defaults 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home hfs defaults 0 2
/dev/vg00/lvol5 /opt hfs defaults 0 2
/dev/vg00/lvol6 /tmp hfs defaults 0 2
/dev/vg00/lvol7 /usr hfs defaults 0 2
/dev/vg00/lvol8 /var hfs defaults 0 2
/dev/vg01/lvol2 /var/opt/HP-AIN hfs defaults 0 2
/dev/vg01/lvol1 /var/opt/HP-AIN/cores hfs defaults 0 2
/dev/vg02/lvol1 /var/opt/HP-AIN/cpeun hfs defaults 0 2
/dev/vg01/lvol3 /var/opt/HP-AIN/cpeun/checkpoint hfs defaults 0 2
/dev/vg00/lvol9 ... swap pri=1 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:35 AM
08-13-2002 05:35 AM
Re: How to increase swap area?
Based upon your original post and your posted /etc/fstab from your other machine, you can see that /dev/vg00/lvol9 on your first machine is a *dump* device whereas on the second machine it is a (secondary) *swap* device.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:36 AM
08-13-2002 05:36 AM
Re: How to increase swap area?
So now.
Should I make another free disk as swap area.?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2002 05:38 AM
08-13-2002 05:38 AM
Re: How to increase swap area?
But my question is now why lvol9 on the machine with problem is as a dupm instead of swap.
Is it now reccomended to do new swap area?
I must tell you that I haven't this kind of job/problem before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2002 04:21 AM
08-15-2002 04:21 AM
Re: How to increase swap area?
Next make sure that /dev/vg00/lvol9 is mentioned as a dump device in the "lvlnboot -v" output. If not, configure it with "lvlnboot -d ..." and check with "lvlnboot -v".
Now /dev/vg00/lvol9 is configured as a *dump* device. A dump device can *also* be used as a *swap* device. Create a "swap" entry for /dev/vg00/lvol9 with the information in the fstab(4) manualpage and do a "swapon -a". "swapinfo -t" should now also list /dev/vg00/lvol9 as a *swap* device.
Note: lvlnboot only configures the *primary* (first) swap device, so you configure *all* *dump* devices with lvlnboot, but only the *first* *swap* device. Additional swap devices are configured withe fstab and swapon (see above).