- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to add additional Swap space!
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
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
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
тАО09-19-2005 12:32 PM
тАО09-19-2005 12:32 PM
How to add additional Swap space!
the swap space is 4GB
I added a new disk,how can I add the addition on this disk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 12:41 PM
тАО09-19-2005 12:41 PM
Re: How to add additional Swap space!
Check the url below (docID : KBRC00008533) about 'Increase swap size - Create a secondary swap' :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080021750
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 12:43 PM
тАО09-19-2005 12:43 PM
Re: How to add additional Swap space!
Create a new VG (using vgcreate)or add this disk to an existing VG say VG00 (using vgextend)
Then create a LV of 4GB with Allocation = strict/contiguous
use lvcreate options -s strict -C contiguous
Now add the entry in fstab to get this swap space assigned at the boot time
/dev/
And then use swapon -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 01:43 PM
тАО09-19-2005 01:43 PM
Re: How to add additional Swap space!
This allow you to fool the system into thinking there is more swap than there actually is.
reasons for pseudoswap
1. save disks for data
2. swap beyond 4gb is rarely used - disk space is wated
3. If you are actually using 8 GB of swap (as opposed to rederving it) you system is going to be so slow that it is effectively off line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:27 PM
тАО09-19-2005 02:27 PM
Re: How to add additional Swap space!
I edited the /etc/fstab file
and added the entry
/dev/vgswap/swap . default 0 0
[root@yjjf1]# swapon -a
Enabling device paging on /dev/vgswap/swap.
swapon: The kernel tunable parameter "maxswapchunks" needs to be increased to ad
paging on device /dev/vgswap/swap.
now the parameter : maxswapchunks is 2048
what is the number for the maxswapchunks when
the swap space is 4+8=12GB
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:34 PM
тАО09-19-2005 02:34 PM
Re: How to add additional Swap space!
Check the url below about maxswapchunks :
http://docs.hp.com/en/939/KCParms/KCparam.MaxSwapChunks.html
And here is the formula :
======================================
Total swap space is defined by:
swchunk * maxswapchunks * DEV_BSIZE
where DEV_BSIZE is 1024 bytes.
======================================
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:49 PM
тАО09-19-2005 02:49 PM
Re: How to add additional Swap space!
I want to tune the parameter:dbc_max_pct
each need to reboot the system
can I tune the two parateters at the same time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2005 02:58 PM
тАО09-19-2005 02:58 PM
Re: How to add additional Swap space!
Yes, you can tune the parameter at the same time. But the good practice is always do one at the time, since need to make sure the system can run without any problem with the new kernel parameter and this will easy for us to troubleshoot.
And dont forget to have a good backup before change anything.
Cheers,
AW