- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mirror-ux - mirrored, but are they bootable?
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
02-15-2002 09:59 AM
02-15-2002 09:59 AM
------------
A 10.20 system with 2 disks, 1 volume group (vg00), and 1 mirror.
What we did:
------------
We upgraded to 11.0, installed the newer Mirror-ux version for 11.0 (I believe it was on the September applications release), re-added the old 2nd disk to the upgraded vg00, and then re-enabled mirroring. The system is now mirrored.
The problem:
------------
When I run lvlnboot -v I get this response, saying only one of the drives is "bootable"
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume
--------------------------------------------
Group:
/dev/dsk/c0t5d0 (8/4.5.0) -- Boot Disk
/dev/dsk/c0t8d0 (8/4.8.0)
PV Name: lvol1 on: /dev/dsk/c0t5d0
/dev/dsk/c0t8d0
Root: lvol3 on: /dev/dsk/c0t5d0
/dev/dsk/c0t8d0
Swap: lvol2 on: /dev/dsk/c0t5d0
/dev/dsk/c0t8d0
Dump: lvol2 on: /dev/dsk/c0t5d0, 0
------------------------------------------
On the old system it said that both disks were bootable.
Please note that I did run this command following adding the disk to vg00:
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t8d0
Any help would be MUCH appreciated.
Thanks,
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:03 AM
02-15-2002 10:03 AM
Re: Mirror-ux - mirrored, but are they bootable?
If HPUX is not in the lif area of the second disk, no booting can occur.
GL,
C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:04 AM
02-15-2002 10:04 AM
Re: Mirror-ux - mirrored, but are they bootable?
After running mkboot and mirroring, did u tried the 'lvlnboot -b boot_lv', 'lvlnboot -d dump_lv' and lvlnboot -r root_lv' ?
Also you have to use 'lvlnboot -R'
Some thoughts ....
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:10 AM
02-15-2002 10:10 AM
SolutionLook like your second disk (mirror) is non bootable. Do this,
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdk/c0t8d0
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R
and then check for the boot definition,
lvlnboot -v /dev/vg00
This should show both the disks as bootable.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:11 AM
02-15-2002 10:11 AM
Re: Mirror-ux - mirrored, but are they bootable?
One more thing: Did you give '-B' option when you pvcreated the disk ?
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:14 AM
02-15-2002 10:14 AM
Re: Mirror-ux - mirrored, but are they bootable?
Check this out for normal steps to perform:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=61aa8f8a0665fd0cc4/screen=ckiDisplayDocument?docId=200000057581212
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:16 AM
02-15-2002 10:16 AM
Re: Mirror-ux - mirrored, but are they bootable?
I would do an lvreduce on each lvol and then vgreduce the volume group to remove the mirrored disk from vg00 and start over.
To mirror:
RAW=/dev/rdsk/c1t6d0 (or whatever)
COOK=/dev/dsk/c1t6d0 (or whatever)
pvcreate -f -B ${RAW}
vgextend /dev/vg00 ${COOK}
mkboot ${RAW}
mkboot -a "hpux -lq (;0)/stand/vmunix" ${RAW}
for each lvol do an lvextend, e.g:
lvextend -m 1 /dev/vg00/lvol1 ${COOK}
That should mirror you; I would also repeat the same mkboot -a as above for the original boot disk so that you can boot without quorun if either disk fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:50 AM
02-15-2002 10:50 AM
Re: Mirror-ux - mirrored, but are they bootable?
Answers to various questions:
1) I don't know if I used -B when I did pvcreate because I used SAM to add the disk to the group
2) I have not used lifls (yet)
3) the only lvlnboot option I have ever used is -a (I plan to use the ones listed in the various suggestions).
Question for A.Clay Stephenson and Sanjay:
1) I didn't put "-lq" in my lvlnboot command. Is that the thing I missed? Sanjay suggested that I do a number of other steps (rather than starting from scratch). Should I start from scratch AND do those other steps?
Thanks,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 10:53 AM
02-15-2002 10:53 AM
Re: Mirror-ux - mirrored, but are they bootable?
I suspect that you missed the -B and that would cause your problems. That is why I suggested that you start all over.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:02 AM
02-15-2002 11:02 AM
Re: Mirror-ux - mirrored, but are they bootable?
The best things is to start over. Check out Clay's suggestions. As I mentioned earlier, the 'pvcreate -B' is a must.
You can do all the steps from command line. Check the output of 'lvlnboot -v' before u reboot the system.
'-lq' option is not a must; but you can do that for convenience. It just skips the quorum check while booting.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:19 AM
02-15-2002 11:19 AM
Re: Mirror-ux - mirrored, but are they bootable?
the -lq option goes with the mkboot command,
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cxtydz
If you put -lq in the lif, it will allow you to boot using the alternate disk even if the primary has failed and you won't have to interact with the ipl. If you don't put -lq in the lif, in case the primary fail, you have boot theu alt and then interact with ipl and manually boot the system with -lq option. The -lq option stands for booting disk without quorum. So it is upto the admin, you can put -lq or you can leave -lq out.
You can run the lvlnboot command with the -r/b/s/d options anytime. This just rebuilds your BRDA and is not harmful.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:20 AM
02-15-2002 11:20 AM
Re: Mirror-ux - mirrored, but are they bootable?
This will give you all steps needed to perform for a fresh root mirroring:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=0574163a1c0ce51fa0/screen=ckiDisplayDocument?docId=200000055534397
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:21 AM
02-15-2002 11:21 AM
Re: Mirror-ux - mirrored, but are they bootable?
If it is possible for you to do, reduce the mirror on the disk, then do a vgreduce to remove the mirror disk from the vg, do a "pvcreate -B /dev/rdsk/c0t8d0" to create a bootable disk, add the disk into the root VG, do a mkboot to put the lif info, then add the mirror to the mirror disk. This way you can be sure that you have followed all the steps and have not missed anything.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:26 AM
02-15-2002 11:26 AM
Re: Mirror-ux - mirrored, but are they bootable?
Incidentally, the idea of using -lq (Clay's) rules, I've since added that.
Big thanks to all, hope I gave everyone enough points :) And by the way, what's the etiquette for giving out points? Anything I should know? I just did it off-the-cuff.
Later,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2002 11:31 AM
02-15-2002 11:31 AM
Re: Mirror-ux - mirrored, but are they bootable?
Glad it is working for u. Check this out to find more about forum, points etc:
http://us-support.external.hp.com/estaff/bin/doc.pl/screen=estaffAssistance/distrib_redir=0+1013801924|*?Page=file0002
HTH,
Shiju