- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring Swap
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
Forums
Discussions
Discussions
Discussions
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
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
03-30-2008 02:19 AM
03-30-2008 02:19 AM
Mirroring Swap
My question, is it necessary to mirror swap volume??
I have 2 internal disks for vg00 and I need more swap and for best performance I want to define 2 volumes not mirrored, each one on one physical disk??
I suppose that the important is that I have 1 swap volume on each disk!!
Is it correct??
Tanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 02:30 AM
03-30-2008 02:30 AM
Re: Mirroring Swap
It is not important to mirror secondary swap space. but if you will do then it will good. And yes it is really good thought that create swap volume on different different disks.
Regards,
Piyush Mathiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 02:37 AM
03-30-2008 02:37 AM
Re: Mirroring Swap
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 02:41 AM
03-30-2008 02:41 AM
Re: Mirroring Swap
also device swap has the better perfomance than file system swap.
##I suppose that the important is that I have 1 swap volume on each disk!!
if it is separate disk which is better
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 03:58 AM
03-30-2008 03:58 AM
Re: Mirroring Swap
Much debated, never resolved.
Some do mirror swap, some do not.
I like a system to be able to run many days with its mirror disk broken, that is impossible without mirroring swap.
Its a matter of opinion though and you will get many answers.
SEP
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
03-30-2008 04:17 AM
03-30-2008 04:17 AM
Re: Mirroring Swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 04:40 AM
03-30-2008 04:40 AM
Re: Mirroring Swap
Thanks for your answers, i want just to precise that, I have vg00 with 2 physical disks, I have all OS logical volumes mirrored, also swap volume, but I want to modify the swap volume with 0 mirror copie and create the second swap volume on the second disks, the two swap volumes not mirrored.
I suppose that if my first disk fail, I can boot from the second disk because I have one volume swap on.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2008 07:40 AM
03-30-2008 07:40 AM
Re: Mirroring Swap
IF you don't mirror your *primary* swap then you run the risk of a system crash or failure to boot as Torsten noted.
Ask yourself why you would lock every door in your house but one.
Mirroring is a high-availabilty strategy and not mirroring primary swap lessens your protection.
When you configure a system, your primary swap can be *less* than your total physical memory (although disk is cheap!). Then, configure a *secondary* swap on a non-vg00 volume or volumes. Ideally, mirror or Raid protect those logical volumes too, but if not, at least you will have made it easier to reboot and/or replace a failed physical disk in vg00.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2008 01:58 AM
04-01-2008 01:58 AM
Re: Mirroring Swap
It clear for me now, many thanks to all for your help.
Best Regards