HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapspace increment in mirrored root disk
Operating System - HP-UX
1833838
Members
2264
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
12-31-2007 11:51 PM
12-31-2007 11:51 PM
After I added RAM in system.I have 2 root disks in vg00 and both are software mirrored.i want to increase the swap space by 12GB and also each of these disk is having 30GB of space empty.Can anybody tell me the steps how to increase swapspace along with synchronization(taking care that they are mirrored with each other)??
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2008 12:23 AM
01-01-2008 12:23 AM
Solution
Shalom,
Just an aside, but how are you calculationg your swapspace need? Your system has a lot of memory and using the twice ram formula may not be required.
How to increase it:
1) Use SAM. If there are two disks with space on it, most of the time sam will get it right.
2) use lvsplit or lvextend -m 0 to break the mirror on the swap logical volume (usually lvol2), remove the mirror swap logical volume, lvextend the primary swap, use lvextend -m 1 to mirror the swap partition. Boot. Done.
I don't like approach 1 because sam does make mistakes. Some people by the way will advise you against mirroring swap at all. Thats a matter of perference. I'm an agnostic on the subject.
A boot will be required in either case for the system to use swap.
Here are some documents.
Designing swap space allocation:
http://docs.hp.com/en/B2355-90672/ch06s03.html
Memory management white paper.
Storage and increasing swap space.
Option 3.
Add new swap space. Set the priority lower so it does not get used except when the system is under stress. That way if you don't need it, you don't impair system performance.
SEP
Just an aside, but how are you calculationg your swapspace need? Your system has a lot of memory and using the twice ram formula may not be required.
How to increase it:
1) Use SAM. If there are two disks with space on it, most of the time sam will get it right.
2) use lvsplit or lvextend -m 0 to break the mirror on the swap logical volume (usually lvol2), remove the mirror swap logical volume, lvextend the primary swap, use lvextend -m 1 to mirror the swap partition. Boot. Done.
I don't like approach 1 because sam does make mistakes. Some people by the way will advise you against mirroring swap at all. Thats a matter of perference. I'm an agnostic on the subject.
A boot will be required in either case for the system to use swap.
Here are some documents.
Designing swap space allocation:
http://docs.hp.com/en/B2355-90672/ch06s03.html
Memory management white paper.
Storage and increasing swap space.
Option 3.
Add new swap space. Set the priority lower so it does not get used except when the system is under stress. That way if you don't need it, you don't impair system performance.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2008 05:26 AM
01-02-2008 05:26 AM
Re: swapspace increment in mirrored root disk
thanks for support and reply
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP