- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SWAP increase
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
тАО09-10-2010 07:08 PM
тАО09-10-2010 07:08 PM
SWAP increase
Now the primary swap space is 16 GB and i want to increase to 32 GB. How can i do it without restarting the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2010 08:26 PM
тАО09-10-2010 08:26 PM
Re: SWAP increase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2010 11:00 PM
тАО09-10-2010 11:00 PM
Re: SWAP increase
You can't increase the primary swap space because the lvols 1(/stand),2(primary swap)and 3(/) must be contiguous.
So bettre you can create secondary swap space and activate it without restarting the server.
#lvcreate -C y -L
#lvchange -r n /dev/vgXX/lvnn (this is to set bad block relocation OFF)
#lvchange -c n -M n /dev/vgXX/lvnn (to set the MWC/mirror consistency oFF)
#lvlnboot -d /dev/vgXX/lvnn (make this swap space dump device)
Add the line in /etc/fstab
#vi /etc/fstab
/dev/vgXX/lvnn swap pri=1 0 0
#swapon -a (To activate the swap space).
In your case,mention size 16000
Also select any name like lvolswaps
You can mention any VG where the space available.
Also check the value of kernal parameter MAXSWAPCHUNKS;increse if needed.
Bijeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2010 11:46 PM
тАО09-12-2010 11:46 PM
Re: SWAP increase
can be only increased by (ignite server) under advance options.
>>.How can i do it without restarting the server.
Not possible with out restarting / As mentioned on the above post, better appoarch to add swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2010 03:08 AM
тАО09-17-2010 03:08 AM
Re: SWAP increase
just create a different lv on different vg and then do swap -a
swapinfo