HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- L1000 w/mirroring. Questions about changing/mirror...
Operating System - HP-UX
1834650
Members
1800
Online
110069
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
10-12-2001 10:52 AM
10-12-2001 10:52 AM
I have an L1000 system with 1 Gig of memory that is mirrored. When the system was built, the config file was defined to use MEMORY * 2 with an upper limit of 1024 for primary swap. The mirroring software was then installed and configured, and the primary swap /dev/vg00/lvol2 on this system was not mirrored at that time. The mirrored disk has been setup as bootable too. I was asked to extend one of the other mirrored lvols on this system. I am concerned that when I look at this system it is showing that /dev/vg00/lvol2 is LV Size (Mbytes) 4096 with Used PV 1. My questions are: 1. Can I reduce primary swap on this system to allow me to further extend the other file system without rebuilding it, as I don't feel I need that much swap defined? 2. And, should the primary swap be mirrored since my mirrored disk has been setup as bootable too, in the case where there would be a problem with the primary and we boot on the mirrored disk for a time? Thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2001 11:03 AM
10-12-2001 11:03 AM
Re: L1000 w/mirroring. Questions about changing/mirroring primary swap.
Yes you could reduce your primary swap. Before you do, check and see if you are utilizing your swap space, and if so, how much. I would not try to reduce your primary swap while the system is up and running in multi-user mode. Bad things could happen. I would boot into single-user mode and proceed from their.
YES, you should definitely have your primary swap mirrored. If you lose the disk that primary swap is on, then your system will essentially cease to function because you no longer have ANY swap space available.
When you mirror your vg00 disk(s), mirror ALL LVs within vg00.
YES, you should definitely have your primary swap mirrored. If you lose the disk that primary swap is on, then your system will essentially cease to function because you no longer have ANY swap space available.
When you mirror your vg00 disk(s), mirror ALL LVs within vg00.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2001 11:05 AM
10-12-2001 11:05 AM
Re: L1000 w/mirroring. Questions about changing/mirroring primary swap.
It is not a good idea to play around with swap. If you get sometime, it's better to create make_recovery tape and then rebuild the system with new sizes.
If you want to proceed your way, you need to lvrmboot -s /dev/vg00/lv_for_swap.
On the mirror disk, create mirror for stand, then create a logical volume of required size for the swap and then mirror the other logical volumes.
Now use lvlnboot -s /dev/vg00/other_swap to update the swap area.
Reboot the system from the mirror disk to get the new swap in effect.
Once it is working, you can re-establish mirrors to the primary disk referencing from the mirror disk.
Note: please prepare a make_recovery tape and verify it before you do anything.
-Sri
If you want to proceed your way, you need to lvrmboot -s /dev/vg00/lv_for_swap.
On the mirror disk, create mirror for stand, then create a logical volume of required size for the swap and then mirror the other logical volumes.
Now use lvlnboot -s /dev/vg00/other_swap to update the swap area.
Reboot the system from the mirror disk to get the new swap in effect.
Once it is working, you can re-establish mirrors to the primary disk referencing from the mirror disk.
Note: please prepare a make_recovery tape and verify it before you do anything.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2001 11:09 AM
10-12-2001 11:09 AM
Solution
Hi there...
The short answer is yes, you can. Others here are far more qualified to tell you if you should....but -
I had to do this exact same task - reduce primary swap, extend mirrored lvols, and restore continuity.
(I call it defrag, there's probably a more correct term)
Attached is the doc I made up for this, and it did work. Ignore my specific values, they applied to my server, and do this from the console, NOT telnet.
Jon
The short answer is yes, you can. Others here are far more qualified to tell you if you should....but -
I had to do this exact same task - reduce primary swap, extend mirrored lvols, and restore continuity.
(I call it defrag, there's probably a more correct term)
Attached is the doc I made up for this, and it did work. Ignore my specific values, they applied to my server, and do this from the console, NOT telnet.
Jon
A little knowledge is dangerous - none is absolutely terrifying!!!
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