- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Second 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
Discussions
Discussions
Forums
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
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-2007 12:24 AM
тАО01-10-2007 12:24 AM
My old swap area has 8Gb and my new area needs to have 24GB.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 12:28 AM
тАО01-10-2007 12:28 AM
Re: Second swap area
# lvcreate -C y -r n -L 24576 -n lvolx /dev/vg0x
# swapon -p 0 /dev/vg01/lvol1
Then add your new swap device to your /etc/fstab
Also note, that with swapon -p 0 means that this new swap will take priority over your first one. You can put the priority to whatever you like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 12:28 AM
тАО01-10-2007 12:28 AM
Re: Second swap area
it depends on where/how you want to create the new swap area.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=977181
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=99017
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=95495
or use SAM to create a new swap area.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 12:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 12:31 AM
тАО01-10-2007 12:31 AM
Re: Second swap area
Go to the top line here where it says SEARCH: and type....'add swap" or "additional swap" or "configure swap" and you will find a plethora of instructions on doing this !
Tip: Always add swap in equal increments. So you have 8gb set up. To get to 24Gb, add two more lvol's for swap at 8Gb each.
That is if your using disk swap and not file system swap. I prefer disk myself.
Kindest Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 12:37 AM
тАО01-10-2007 12:37 AM
Re: Second swap area
the kernel parameters that affect max swap size are swchunk and maxswapchunks
If are going to change them, make them larger than you need, so you will not have modify the kernel again