- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mirror/split secondary 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
11-01-2001 12:53 PM
11-01-2001 12:53 PM
if we can mirror and split secondary swap.
We are moving from one EMC to another and have a secondary swap on the old one.
They are both connected and we are going to mirror from one to the other then split to the
new one. Has anyone done this with swap partitions?
OLD EMC DISK: c1t1d1
NEW EMC DISK: c2t2d2
/dev/vg02/lvol1 = secondary swap
lvextend ???m 1 /dev/vg02/lvol1 /dev/dsk/c2t2d2
edit /etc/lvmpvg add;
VG /dev/vg02
PVG PVGsplit
/dev/dsk/c1t1d1
lvsplit ???g PVGsplit /dev/vg02/lvol1
I am thinking nothing needs to be done with lvlnboot as it is secondary swap.
Anyone with swap mirror/split/reduce experience please respond.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 01:00 PM
11-01-2001 01:00 PM
Re: mirror/split secondary swap
I have not, per se, tried what you suggest. However, it would be simpler, I think, to 'lvextend' a *second* mirror copy and once synchronized, 'lvreduce' the *first* mirror copy you no longer want, leaving *one* mirror.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 01:27 PM
11-01-2001 01:27 PM
Re: mirror/split secondary swap
I agree with the TopGun ;-)
Never tried splitting a mirror
swap before, so the instinct
is to play it safe and use
the lvreduce method, as suggested by James.
-Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 02:00 PM
11-01-2001 02:00 PM
Re: mirror/split secondary swap
You can reduce the mirror by doing an "lvreduce -m 0 /dev/vg_name/lv_name /dev/dsk/device_name" and then do and "lvextend -m 1 /dev/vg_name/lv_name /dev/dsk/device_name" to add the mirror to the new path.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 03:06 PM
11-01-2001 03:06 PM
Re: mirror/split secondary swap
The real point is can you lvextend mirror and lvreduce mirror on a swap lvol on an active system?
Thanks for the replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2001 05:07 PM
11-01-2001 05:07 PM
SolutionThere is no reason why you can't 'lvreduce' a secondary swap's mirror and then 'lvextend' it elsewhere. You are not eliminating swap (which *would* require a reboot) so whether or not you have multiple copies should be immaterial.
To 'lvsplit' a logical volume containing swap makes no sense to me. The idea of splitting a mirrored logical volume is to isolate a *static* copy for backup purposes. Swap is certainly not a static entity.
Regards!
...JRF...