HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change Primary Swap
Operating System - HP-UX
1833451
Members
3084
Online
110052
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
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
07-06-2001 05:51 AM
07-06-2001 05:51 AM
Change Primary Swap
How can I change my mirrored primary swap to another lvol that is a larger disk size without having to do a makerecovery? Here is the scenario
Primary Mirrored
lvol1 lvol1
lvswap2 1.5gb lvol2 5gb
lvswap3 lvol3
I want to change lvswap2 to match lvol2 in mirror?
the lvlnboot says lvswap2 is my primary?
If I change the lvlnboot file to match the mirror config, is the primary affected, and if i reboot will this hose my server since it is looking for lvswap2 and i removed it in the lvlnboot and changed it to another name?
What is the best way to change this on the fly? Can this be done? Help?
Chris
chrisam@rocketmail.com
Primary Mirrored
lvol1 lvol1
lvswap2 1.5gb lvol2 5gb
lvswap3 lvol3
I want to change lvswap2 to match lvol2 in mirror?
the lvlnboot says lvswap2 is my primary?
If I change the lvlnboot file to match the mirror config, is the primary affected, and if i reboot will this hose my server since it is looking for lvswap2 and i removed it in the lvlnboot and changed it to another name?
What is the best way to change this on the fly? Can this be done? Help?
Chris
chrisam@rocketmail.com
Lifes too short to stress out, Enjoy every day you have on earth!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 05:58 AM
07-06-2001 05:58 AM
Re: Change Primary Swap
Hi,
You were on the right track. Change it using lvlnboot -s xxxxxx where xxxxxx is the swap logical volume. The bad news is that you can't do it on the fly - it takes effect upon the next boot. You must also make certain that the swap logical volume is contiguous. If you need to add swap immediately you can use the swapon command. Man swapon for details.
Clay
You were on the right track. Change it using lvlnboot -s xxxxxx where xxxxxx is the swap logical volume. The bad news is that you can't do it on the fly - it takes effect upon the next boot. You must also make certain that the swap logical volume is contiguous. If you need to add swap immediately you can use the swapon command. Man swapon for details.
Clay
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 05:58 AM
07-06-2001 05:58 AM
Re: Change Primary Swap
this is risky, but you can try to issue an lvsplit and then an lvmerge..
LAter,
Bill
LAter,
Bill
It works for me (tm)
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