Operating System - HP-UX
1834796 Members
2566 Online
110070 Solutions
New Discussion

Re: Bootable Mirrored Disk

 
SOLVED
Go to solution
Scott McCort
Advisor

Bootable Mirrored Disk

I have a HP 9000, 10.20. The boot disk is mirrored but does not show up as bootable. How do you make the mirrored disk bootable and can you do it during 'production' hours?

# lvlnboot -v /dev/vg00
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (8/4.6.0) -- Boot Disk
/dev/dsk/c3t6d0 (10/0.6.0)
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
4 REPLIES 4
harry d brown jr
Honored Contributor

Re: Bootable Mirrored Disk

mkboot:

http://docs.hp.com/hpux/onlinedocs/B2355-90129/00/01/183-con.html

live free or die
harry
Live Free or Die
Michael Tully
Honored Contributor
Solution

Re: Bootable Mirrored Disk

Here are the procedures I use:

# pvcreate -Bf /dev/rdsk/c3t6d0
# vgextend /dev/vg00 /dev/dsk/c3t6d0
# mkboot /dev/rdsk/c3t6d0
# mkboot -a "hpux -lq(10/0.6.0;0)/stand/vmunix" /dev/rdsk/c3t6d0
# lvlnboot -R

You should only need to tun the two 'mkboot' commands
If you haven't already you can mirror the rest of your LV's

# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL
> done
Anyone for a Mutiny ?
Martin Johnson
Honored Contributor

Re: Bootable Mirrored Disk

Michael's commands can be done during "production" hours. There is no reboot required. When you do the actual mirroring, which will take a few minutes, there may be a slight performance hit if you are doing a lot of I/O to the system disk.

HTH
Marty

Re: Bootable Mirrored Disk

Yes, you can make the mirrored disk as bootable. The attached file should do it.

Good luck!!!

-Venkat
Experience is the Best Teacher