- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Replacing primary boot disk...
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
тАО07-17-2000 10:08 AM
тАО07-17-2000 10:08 AM
Configuration:
HDWE: V2500
OS: HPUX 11.0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 10:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 11:27 AM
тАО07-17-2000 11:27 AM
Re: Replacing primary boot disk...
If you already enable the mirror as primary and split the mirror, and you want to go back to the initial configuration, you can create the mirror in the primary (pvcreate ?B raw_divice, vgextend /dev/vg00 block_device, mkboot raw_device, lvextend ?m 1 /dev/vg00/lvolxx block_device, lvlnboot ?v). By the end, if you modified the primary boot path in isl, go in isl and modify it back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 11:47 AM
тАО07-17-2000 11:47 AM
Re: Replacing primary boot disk...
This will open a list of the files.
The HPUX and the AUTO file are the critical ones. The HPUX file is the utility that is loaded when you did:
mkboot /dev/rdsk/c#t#d#
Your AUTO file is missing. The AUTO file is created when you performed the step:
mkboot -a "hpux (HW_path;0)/stand/vmunix" /dev/rdsk/c#t#d#
LIF errors occur if the AUTO file is not created when the root mirror disk is replaced. The following will correct the problem you were experiencing when you tried to boot from the freshly replaced root mirrored disk, these are the steps you should execute:
1. replace disk
2. vgcfgrestore -n /dev/vg# /dev/rdsk/c#t#d#
3. vgchange -a y /dev/vg#
4. vgsync /dev/vg#
5. mkboot /dev/rdsk/c#t#d#
6. mkboot -a "hpux(;0)/stand/vmunix" /dev/rdsk/c#t#d#
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2000 12:19 PM
тАО07-17-2000 12:19 PM
Re: Replacing primary boot disk...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2000 10:49 PM
тАО07-18-2000 10:49 PM
Re: Replacing primary boot disk...
Boot the machine in lvm maintenance mode
# hpux -lm (;0)/stand/vmunix
If /usr is on a separate logical volume:
#vgchange - a y -q n /dev/vg00
#mount /usr
#mkboot /dev/rdsk/cXtXd0
#mkboot -a "hpux(;0)/stand/vmunix"
/dev/rdsk/cXtXd0
# cd /usr/sbin/diag/lif
#mkboot -b updatediaglif (updatediaglif2 for N, L & V-Class )-p ISL -p AUTO -p HPUX -p LABEL /dev/rdsk/cXtXd0
(This is for getting diag on the mirrored disk).
# vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtXd0
If /usr is on separate logical volume you have already mounted /usr, run #vgsync /dev/vg00
instead of
#vgchange -a y /dev/vg00.
# vgchange -a y /dev/vg00
Reboot the machine