1825002 Members
2899 Online
109678 Solutions
New Discussion юеВ

Re: Mirror/UX

 
SOLVED
Go to solution
Konstantin Kerry
Occasional Contributor

Mirror/UX

Hi everybody!
I have L-1000 under HP-11.0 with two hard disks(c1t2d0-system, c2t2d0-unused). I need to make mirror of the system disk to the second one. After installing Mirror/UX product I did the following steps:
ISL>hpux ???lm
# vgchange ???a y vg00
# pvcreate ???B /dev/rdsk/c2t2d0
# vgextend /dev/vg00 /dev/dsk/c2t2d0
#mkboot /dev/rdsk/c2t2d0
After that system reported: Could not open /user/lib/uxbootlf: No such file or directory
So I needed to run to the first level
# init 1
#mkboot /dev/rdsk/c2t2d0
#mkboot ???a ???hpux ???lq??? /dev/rdsk/c2t2d0
#lvextend ???m 1 /dev/vg00/lvol1 /dev/dsk/c2t2d0
#lvextend ???m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0
#lvextend ???m 1 /dev/vg00/lvol3 /dev/dsk/c2t2d0
??????????????????????????????????????????????????????..
#lvextend ???m 1 /dev/vg00/lvol10 /dev/dsk/c2t2d0
#lvlnboot ???R /dev/vg00
#lvdisplay ???v /dev/vg00/lvolN was OK
But when I tried to boot from the c2t2d0 by switching off the c1t2d0 and assigning the path of the first as ALT and the second one as PRI and attempted to load
ISL> hpux ???lm for vgchange ???a y ???q n vg00
system began to panic. My question-what is my fault?
6 REPLIES 6
Printaporn_1
Esteemed Contributor

Re: Mirror/UX

# /usr/sbin/lvlnboot -b /dev/vg00/lvol1
# /usr/sbin/lvlnboot -v -r /dev/vg00/lvol3
# /usr/sbin/lvlnboot -s /dev/vg00/lvol2
enjoy any little thing in my life
Jaikishan_1
Advisor

Re: Mirror/UX

Dear ,
lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R ( this??? R ??? option will automatically do the ??? ???r , -s , -b , -d options. )if it is not doing then do it manually.
Execute this Command for Verification
#lvlnboot -v
It need look like this:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t1d0 -- Boot Disk
/dev/dsk/c1t2d0 -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0

Rgds
Jai
Don`t Give Up........
Jaikishan_1
Advisor

Re: Mirror/UX

Dear ,
After Mirroring via lvextend do this steps which are necessary...

lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
lvlnboot -R ( this??? R ??? option will automatically do the ??? ???r , -s , -b , -d options. )if it is not doing then do it manually.
Execute this Command for Verification
#lvlnboot -v
It need look like this:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t1d0 -- Boot Disk
/dev/dsk/c1t2d0 -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Root: lvol3 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t1d0
/dev/dsk/c1t2d0

Rgds
Jai
Don`t Give Up........
Animesh Chakraborty
Honored Contributor
Solution

Re: Mirror/UX

Animesh Chakraborty
Honored Contributor

Re: Mirror/UX

Hi,
Try vgcfgrestore
vgcfgrestore -n /dev/vg00 /dev/dsk/c2t2d0


Best of luck
Animesh
Did you take a backup?
Marcin Wicinski
Trusted Contributor

Re: Mirror/UX

Hi,

After creating mirror you should do:

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

If you have diagnostics installed, you shoud also update LIF area on mirror disk (in order to let diagnostocs function correctly from mirror boot disk):

mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p -p... /dev/rdsk/...

Later,
Marcin Wicinski