Operating System - HP-UX
1826230 Members
4574 Online
109692 Solutions
New Discussion

LIF File during mirroring

 
Rob O'Connor
Advisor

LIF File during mirroring

Well, here another mirroring question. I trying to mirror the root disk.
pvcreate -B /dev/rdsk/c2txdx
vgextend /dev/vg00 /dev/dsk/c2txdx
mkboot -l /dev/rdsk/c2txdx
mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/c2txdx
for i in 1 2 3 4 5 6 7 8
do
lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/c2txdx
done

lifls /dev/rdsk/c1txdx
lifls /dev/rdsk/c2txdx
cd /usr/sbin/diag/lif
mkboot -b updatediaglif2 -i ODE -i MAPFILE -i SYSLIB -i CONFIGDATA -i SLMOD2 -i SLDDEV2 -i SLSCSI2 -i MAPPER2 -i IOTEST2 -i PERVER2 -i PVCU -i SSINFO -p ILS -p AUTO -p HPUX -p LABEL /dev/rdsk/c2txdx

Then I receive the message:
LIF file in ILS not present on /dev/rdsk/c3t6d0

Any ideas? Thanks
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: LIF File during mirroring

If you follow proper mirroring procedures, you will get a correct response to the lifls command.

Here is a more complete guide.

Michael Tully
# pvcreate -Bf /dev/rdsk/c2t6d0
# vgextend /dev/vg00 /dev/dsk/c2t6d0
# mkboot /dev/rdsk/c2t6d0
# mkboot -a "hpux -lq (0/0/2/1.6.0;0)/stand/vmunix" /dev/rdsk/c2t6d0
# lvlnboot -R
# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL
> done
#

P.H Vogt

mkboot
mkboot -a "hpux -lq"

for both rootvg disks.

If you get a non boot disk message with mkboot your mirror disk is not bootable.

step 2 make a make_recovery tape If possible use the option -A.

step 3 stop all applications or even better go in single user mode.

step 4 just physically remove 1 disk from the system.

step 5 lvreduce all lv's and do a vgreduce -f vg00

step 6 upgrade to 11i

step 7 install the 11i mirroring software B2491BA and put the disk in the system again

step 8 pvcreate -fB
/dev/rdsk/c#t#d0
vgextend vg00

for f in `find /dev/vg00 - type b`
do
lvextend -m 1 $f
done

mkboot
mkboot -a "hpux -lq"

I was too lazy to type in my own procedure.

test after with lifls

lvlnboot -v

Important NOTE: You are not certain of success merely by running a command. The only way to be sure this worked right is to BOOT off the alternate disk.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Steele_2
Honored Contributor

Re: LIF File during mirroring

Regarding "...LIF file in ILS not present on /dev/rdsk/c3t6d0..."

Is that c3t6d0 the problem?

If c3t6d0 is the problem then you've probably leaked onto it during lvextend.

pvdisplay -v /dev/rdsk/c3t6d0 | more

Support Fatherhood - Stop Family Law