- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirrored root and kernel rebuild
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
Discussions
Discussions
Forums
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
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
тАО10-19-2000 09:12 AM
тАО10-19-2000 09:12 AM
I could boot off the second drive (hpux -lq) with no problem. And as far as I was concerned things worked great.
Then I decided to rebuild the kernel via SAM... (installing MQ-Series) and it would not boot properly. GSP complained of software problems or failures.
I had to boot with "hpux -lq"; then I went in and removed all the mirrors; and re-created the mirrors. It boots with the correct kernel and is back to normal.
A couple of things:
Should I not use SAM to rebuild the kernel when the drives are mirrored? This worked on a duplicate system that does not have mirrored filesystems, but is running LVM.
If I do use SAM to rebuild the kernel, should I reduce the mirrors first, rebuild the kernel, run "mkboot", then increase the mirrors?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 09:21 AM
тАО10-19-2000 09:21 AM
SolutionSAM is fine for reconfiguring the kernel (it's about the only thing that I do use it for). Mirrored disks do not make any difference to the kernel rebuild.
No you shouldn't reduce the mirrors first. I don't know what your original problem was, maybe you could give some more information...
hpux -lq causes the system to boot even if the boot volume group's disk quota is not met. So if you had two disks in vg00 then hpux -lq allows you to boot with one of them missing.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 09:26 AM
тАО10-19-2000 09:26 AM
Re: Mirrored root and kernel rebuild
1. There is no need to rebuild a kernel when mirroring is turned on or off.
2. It is always best to use SAM to tune kernel parameters or to add or subtract drivers from the kernel. SAM "knows" of the proper relationships among various parameters. Thus, using SAM will generate a well-balanced kernel. The risk of creating an unbootable system (because of a grossly misconfigured kernel) are greatly reduced with SAM.
SAM automates the kernel generation steps so nicely that its a "no-brainer". With SAM's builtin help for viewing what each kernel parameters allowable values are, along with a brief description of their purpose, how can you lose?! :-))
3. I personally don't see a need to reduce your mirrors before a kernel rebuild and reboot only to add them back afterwards. SAM always preserves the current kernel as /stand/vmunix.prev and in a crisis, you can always boot from this as viable kernel code.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 10:04 AM
тАО10-19-2000 10:04 AM
Re: Mirrored root and kernel rebuild
As to the question of splitting mirrors, it is by no means necessary. However, it might not be a bad idea. Not to solve the problem you had this time, but simply as a fast means of backing out an install that fails. Obviously, if all you have done is a kernel change then you can simply put the saved vmunix file back in place and reboot. If you have installed multiple patches or a large patch bundle, though, backing out a change can be cumbersome and time consuming. If you have split mirrors beforehand, you can simply boot off of the split mirror, and then resync "backwards" to restore your original root drive configuration.
As I say, this is not necessary, and I do not do it for every, or even most, patching. However, I keep the procedure around for large updates that I feel might be troublesome/complicated to back out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2000 10:51 AM
тАО10-19-2000 10:51 AM
Re: Mirrored root and kernel rebuild
As for breaking mirrors when rebuilding the kernel, you should not have to. All my servers have always used mirrors and I have never had a problem with kernel builds, except once, but that was a bug in SAM.
JLS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-20-2000 01:08 PM
тАО10-20-2000 01:08 PM
Re: Mirrored root and kernel rebuild
Leave the menu driven admin utilities to those who do not wish to understand.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2000 06:20 PM
тАО10-23-2000 06:20 PM