- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing maxswapchunks, does it need reboot?
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
11-04-2002 08:21 AM
11-04-2002 08:21 AM
I would like to know if changing maxswapchunks needs reboot, and what the value means, Is it the maximun disk space that can be allocated to swap?
Any help is really appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:29 AM
11-04-2002 08:29 AM
Re: Changing maxswapchunks, does it need reboot?
Yes you have to reboot to change it because it's a static parameter. You probably got this message when trying to add swap space. My advise would be to set it high (> 10000) ...
Total swap space is defined by swchunk * maxswapchunks * DEV_BSIZE(1024)
Regards,
Jean-Louis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:30 AM
11-04-2002 08:30 AM
Re: Changing maxswapchunks, does it need reboot?
maxswapchunks*swchunk*1024bytes
The parameter swchunk defaults to 2048. So for example if you leave maxswapchunks to the default 256, the maximum amount of swap you can configure is :-
256 * 2048 * 1024bytes = 512MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:31 AM
11-04-2002 08:31 AM
Re: Changing maxswapchunks, does it need reboot?
Maxswapchunks does control the amount of disk space that can be used for swap.
The value is calculated as
maxswapchunks x swchunk x DEV_BSIZE
The values of swchunk (2048) and DEV_BSIZE (1024) should never be changed.
More information on maxswapchunks is available here: http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxSwapChunks.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 08:33 AM
11-04-2002 08:33 AM
Re: Changing maxswapchunks, does it need reboot?
"maxswapchunks specifies the maximum amount of configurable swap space on the system"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 09:35 AM
11-04-2002 09:35 AM
Re: Changing maxswapchunks, does it need reboot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 09:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 09:51 AM
11-04-2002 09:51 AM
Re: Changing maxswapchunks, does it need reboot?
If you every want to REMOVE a swap device, this does require a reboot, as swap can not be removed while it is in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 09:53 AM
11-04-2002 09:53 AM
Re: Changing maxswapchunks, does it need reboot?
Nope,
lvcreate /dev/vg0#
lvextend -L
The above will ensure file system is allocated to specific disk
swapon /dev/vg0#/lvol#
Then add the swap entry to fstab
/dev/vg0#/lvol# . swap defaults 0 0
HTH
Steve