Operating System - HP-UX
1826480 Members
4110 Online
109692 Solutions
New Discussion

Re: root disk mirror on virtual partition

 
SOLVED
Go to solution
swd
Occasional Contributor

root disk mirror on virtual partition

hpux 11.11
rp5405
disk system: DS2300
pri disk:0/8/0/0.0.0 /dev/dsk/c5t0d0
alt disk:0/9/0/0.8.0 /dev/dsk/c6t8d0

Hi, I need your help.

#mkboot -a "hpux /stand/vpmon -a" /dev/rdsk/c5t0d0
In vpar1,with this command, system booting works well.

Now I'd like to mirror these root disks.
I am curious, how do use "mkboot" command.
I think below commands will work, but I'm not sure, so I need your confirm.

#mkboot /dev/rdsk/c6t8d0
#mkboot -a "hpux -lq(0/8/0/0.0.0)/stand/vpmon -a" /dev/rdsk/c5t0d0
#mkboot -a "hpux -lq(0/9/0/0.8.0)/stand/vpmon -a" /dev/rdsk/c6t8d0
#setboot -a 0/9/0/0.8.0
#lvextend ...
#lvextend ...

I have several experiences root disk mirroring on non-vpar, but this vPar root disk mirroring is first time for me.

I need your advices. Thank you.
2 REPLIES 2
Sanjiv Sharma_1
Honored Contributor
Solution

Re: root disk mirror on virtual partition

Hi,

The steps and commands seems to be ok.

Don't forget to run "lvlnboot".


Everything is possible
gil paz_2
Advisor

Re: root disk mirror on virtual partition

You can use this procedure:
On the system disk=/dev/dsk/c5t0d0
mkboot -a "houx -lq (;0)/stand/vpmon" /dev/rdsk/c5t0d0

On the mirror disk=/dev/dsk/c6t0d0

pvcreate [-f] -B /dev/rdsk/c6t0d0
vgextend /dev/vg00 /dev/dsk/c6t0d0

Mirror the LVs:
for i in 1 2 3 4 5 6 7 8 9
do
lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/c6t0d0
done
Write the contents of the LABEL file, i.e. set root, boot, swap and
dump device:

# lvlnboot -b /dev/vg00/lvol1
# lvlnboot -r /dev/vg00/lvol3
# lvlnboot -s /dev/vg00/lvol2
# lvlnboot -d /dev/vg00/lvol2

# lvlnboot -vR

mkboot -a "hpux -lq (;0)/stand/vpmon" /dev/rdsk/c6t0d0

setboot -a /dev/dsk/c6t0d0
setboot

Maybe you this to:
vparmodify -p vpar1 -o "-lq"

Gil Paz.
gil.paz@hp.com