- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending 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
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-29-2011 09:18 AM
тАО01-29-2011 09:18 AM
Re: Extending Swap Space
Edit /etc/fstab and add the entry for each of them like this.
/dev/vg??/lv?? ... swap pri=1 0 0
This will enable swap interleaving as primary swap is already set to the default priority of 1.
(lowest number such as 0 gets used first, equal priorities are assigned in round-robin manner).
Further you have 32 Gigs of "pseudo swap" so it means your RAM size should be 50 Gigs which is good , you need to configure swap space at least equal to physical memory.
Check " dmesg | grep -i physical" to check RAM size and make sure you have equal amount of swap.
Look right now 8 Gigs of swap is reserved by some database application i guess.
You have 43 Gigs of free space in vg01 , please go ahead and good amount of swap to make it equal to RAM size ( or as much as you can, i think you need 42 Gigs..- )
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 01:06 AM
тАО01-31-2011 01:06 AM
Re: Extending Swap Space
Secondary device swap in your case can be extended on same disk or new disk online with lvextend & swapon -a command. No reboot is required for swapon -a. Then its not necessary for secondary device swap to be contiguous but primary swap has to be.
Thanks & regards,
Kavita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 01:37 AM
тАО01-31-2011 01:37 AM
Re: Extending Swap Space
>>you do need contagious extents to extend ..>>that<< lvol
Hello Kavita
Thanks for checking in but these comments were only for "primary swap" that can`t be extended on fly and needs contagious extents ( if possible ..with certain work around )+ reboot.
Not for secondary do check the same -- ))
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 02:18 AM
тАО01-31-2011 02:18 AM
Re: Extending Swap Space
Thanks & regards,
Kavita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 07:22 PM
тАО01-31-2011 07:22 PM
Re: Extending Swap Space
I just need to extend swap to 32 GB.
I can create a new swap or I can extend the existing secondary swap.
I got confused.
Conclusion - We can extend the existing secondary swap online right???
Thanks
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 11:13 PM
тАО01-31-2011 11:13 PM
Re: Extending Swap Space
Secondary can be extended ( needs reboot after that ) and we need to check what option you used while creating it ( -c y ) & do the things accordingly.
As we already discussed ,create new swap devices .
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2011 11:36 PM
тАО01-31-2011 11:36 PM
Re: Extending Swap Space
I have one doubt,
If i created a secondary swap without -C y option, can i extend the swap with lvextend.
What i understood is.
If i created the secondary swap without -C y option, then i have to do swapoff on that LV.
Then i have to extend the LV
Then i have to do swapon on that LV.
Is my undestanding is ryt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 12:20 AM
тАО02-01-2011 12:20 AM
Re: Extending Swap Space
I am not able to find any HP doc ,supporting that secondary swap can be non - contagious.
But 'swapoff' is not a native in built command & there is patch for 11.31 only (AFAIK).read the link below.
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=SwapoffEn
I would still prefer to keep add a new device for -C y option .
Thanks
Manix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2011 04:35 AM
тАО02-01-2011 04:35 AM
Re: Extending Swap Space
- « Previous
-
- 1
- 2
- Next »