Operating System - HP-UX
1834167 Members
2330 Online
110064 Solutions
New Discussion

Re: about Mirror disk boot for quarum command

 
SOLVED
Go to solution
ROY_16
Occasional Contributor

about Mirror disk boot for quarum command

hi,i'm in trouble.
i'm trying the boot disk which is the alternate.

if i remove the primary disk the system,
i think changing the alternate boot.
but the system could't start.
i checked the disk was configueris the mirror.(used lvdisplay,lifls and lvlnboot)

i heard the quarum command, but i can find this command.

the system configuration is in details as followings.

Boot Definitions for volume Group /dev/vg00,
and same hard disk drive insert the system.

Please Help!!
ROY
5 REPLIES 5
Clemens van Everdingen
Honored Contributor

Re: about Mirror disk boot for quarum command

Hi,

You should have done the following command on both of your bootable disks:

# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/cXtXdX

This enable the quorum thing.
You need to have at least half of the disks available to boot your system !

By the way you could still do this and then remove the other disk.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Animesh Chakraborty
Honored Contributor

Re: about Mirror disk boot for quarum command

Hi Try booting this way

interrupt the boot sequence
answer Y to interact with IPL
then boot
hpux -lq

best of luck
Did you take a backup?
Joaquin Gil de Vergara
Respected Contributor
Solution

Re: about Mirror disk boot for quarum command

revise procedure

first the disk must be init with pvcreate -B command to set a boot disk

create the boot area

#mkboot
# mkboot -a "hpux -lq"
(this in primary and in alternate)

mirror the lif area too

# for i in $(lifls /dev/rdsk/)
>do
> >lifcp /dev/rdsk/:$i /dev/rdsk/:$i
>done

you must set the mirror in the same order that primary disks (lvol1, then lvol2, then lvol3 .... until lvol8)

then run the lvlnboot -v command. It says if all it's correct

yopu must set the alternate path from here with the setboot command

good luck!
Teach is the best way to learn
Paula J Frazer-Campbell
Honored Contributor

Re: about Mirror disk boot for quarum command

Hi

This may help:-

Mirroring the root disk with LVM
To mirror an existing root volume:
1. pvcreate -B /dev/rdsk/device (-B creates BDRA area)
2. vgextend /dev/vg00 /dev/dsk/device
3. mkboot /dev/rdsk/device (put boot utilities into boot area)
4. mkboot -a "hpux boot arguements here" /dev/rdsk/device
5. lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/device
6. lvextend -m 1 /dev/vg00/swaplv /dev/dsk//device
7. repeat lvextend in sequence for all root logical volumes
8. lvlnboot -v ( to update the boot information with the new disk)



Paula
If you can spell SysAdmin then you is one - anon
ROY_16
Occasional Contributor

Re: about Mirror disk boot for quarum command

HI,

thank you for your help!
i'll try again.

Roy
ROY