HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirroring boot disk, removing mirror copy, booting...
Operating System - HP-UX
1827293
Members
1522
Online
109717
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-28-2004 07:47 AM
07-28-2004 07:47 AM
Mirroring boot disk, removing mirror copy, booting it in *another* machine and resuming mirroring
Although there's been loads of postings about getting your HP-UX mirrored system disk to boot when the first one fails, they all seem to assume that you're just booting on the same machine, but from a different disk.
What I decided to do was to actually use the mirror disk as a "clone" to boot into another machine:
I split the logical volumes (lvol1_copy etc.), fsk'ed them, edited appropriate files so that IP/hostname were different (e.g. /etc/rc.config.d/netconf) and did various other "magic" suggested here (e.g. lvrmboot, lvlnboot etc. etc.) which did eventually allow me to remove the mirrored disk and boot on another (identical hardware) machine.
So far so good - I've got the second machine with the mirrored disk now thinking that there's 2 physical volumes and 3 logical volumes (i.e. not mirrored yet, but both disks in machine 2 present and accounted for), but the after-affects of the lvsplit still seem to be lingering. Namely, attempts to up the number of mirror copies to 1 via lvextend now results in:
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol1_copy" could not be extended.
Failure possibly caused by PVG-Strict allocation policy.
In fact, *both* the original machine and the second machine now say this (I'm now trying to activate mirroring on each machine, but without success).
No, I can't do an lvmerge before you ask of course (different disks on different machines), but I can see that "lvchange -s" might be a possible remedy. Anyone got any clues? What additional info do folks out there need to make a diagnosis - I'll post up whatever's needed.
What I decided to do was to actually use the mirror disk as a "clone" to boot into another machine:
I split the logical volumes (lvol1_copy etc.), fsk'ed them, edited appropriate files so that IP/hostname were different (e.g. /etc/rc.config.d/netconf) and did various other "magic" suggested here (e.g. lvrmboot, lvlnboot etc. etc.) which did eventually allow me to remove the mirrored disk and boot on another (identical hardware) machine.
So far so good - I've got the second machine with the mirrored disk now thinking that there's 2 physical volumes and 3 logical volumes (i.e. not mirrored yet, but both disks in machine 2 present and accounted for), but the after-affects of the lvsplit still seem to be lingering. Namely, attempts to up the number of mirror copies to 1 via lvextend now results in:
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol1_copy" could not be extended.
Failure possibly caused by PVG-Strict allocation policy.
In fact, *both* the original machine and the second machine now say this (I'm now trying to activate mirroring on each machine, but without success).
No, I can't do an lvmerge before you ask of course (different disks on different machines), but I can see that "lvchange -s" might be a possible remedy. Anyone got any clues? What additional info do folks out there need to make a diagnosis - I'll post up whatever's needed.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 07:51 AM
07-28-2004 07:51 AM
Re: Mirroring boot disk, removing mirror copy, booting it in *another* machine and resuming mirroring
The tool for system cloning is not moving around disks. I'm sure you can make it work, but Ignite is designed to let you clone sysetms, and even customize how the clone comes out.
To make the disk move scenario remove, I would think you need to lvspit and then lvreduce the disk out of the volume group to work.
I'm still not sure you'll be able to just boot off that disk. Surely you can't without changes, because the netconf file is the same. Two machines, same ip address, won't work on the same network.
Thats' why Ignite is a better tool for the job.
SEP
To make the disk move scenario remove, I would think you need to lvspit and then lvreduce the disk out of the volume group to work.
I'm still not sure you'll be able to just boot off that disk. Surely you can't without changes, because the netconf file is the same. Two machines, same ip address, won't work on the same network.
Thats' why Ignite is a better tool for the job.
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
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP