Operating System - HP-UX
1833012 Members
3111 Online
110048 Solutions
New Discussion

LIFS are not the same on mirrored disks

 
SOLVED
Go to solution
Alex Lavrov.
Honored Contributor

LIFS are not the same on mirrored disks

Hello,
I have two disks mirrored in vg00, but for some reason LIFS area is no same on them.

What can be a reson for it and how should I fix it?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
11 REPLIES 11
Keith Bryson
Honored Contributor

Re: LIFS are not the same on mirrored disks

I've come across this recently. When you perform the mkboot command, only the absolute necessary LIF programs are copied over (the system will still boot though on the mirror). You are probably missing the diag programs.

Keith
Arse-cover at all costs
Alex Lavrov.
Honored Contributor

Re: LIFS are not the same on mirrored disks

To be honest on some servers I miss them all .... ;-\
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Keith Bryson
Honored Contributor

Re: LIFS are not the same on mirrored disks

Have you created the mirror using:

pvcreate -B {dev}
mkboot -l {dev}

????

This must be done for root disk mirrors.

Keith
Arse-cover at all costs
Alex Lavrov.
Honored Contributor

Re: LIFS are not the same on mirrored disks

Have no idea who an how created them.


So, to fix it I must use mkboot?
I don't give a damn for a man that can only spell a word one way. (M. Twain)
RAC_1
Honored Contributor

Re: LIFS are not the same on mirrored disks

You must have misssed following. ODE tools were not copied.

mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p HPUX -p AUTO -p LABEL -p PAD
/dev/rdsk/cxtxdx

Use updatediaglif2 if it is 64 bit kernel.
There is no substitute to HARDWORK
Keith Bryson
Honored Contributor

Re: LIFS are not the same on mirrored disks

Your best bet is to remove the mirror disk, then:

(c1t0d0 is used as an example)
pvcreate -B /dev/rdsk/c1t0d0
mkboot -l /dev/dsk/c1t0d0
vgextend /dev/vg00 /dev/dsk/c1t0d0

then re-mirror the LVs in the same order as the original disk.

Keith
Arse-cover at all costs
Henk Geurts
Esteemed Contributor

Re: LIFS are not the same on mirrored disks

hi Alex
what's the output of lvlnboot -v ?
when one of your vg00 disk isn't a Boot Disk, you won't be able to boot from it.
the solution is to totally remove the disk from vg00 and create it again with the -B option.

good luck.
Alex Lavrov.
Honored Contributor

Re: LIFS are not the same on mirrored disks

This is the output:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c4t6d0 (1/0/4/0/0/4/0.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t6d0
/dev/dsk/c4t6d0
Root: lvol4 on: /dev/dsk/c2t6d0
/dev/dsk/c4t6d0
Swap: lvol3 on: /dev/dsk/c2t6d0
/dev/dsk/c4t6d0
Dump: lvol2 on: /dev/dsk/c2t6d0, 0



lifls /dev/dsk/c4t6d0
ISL AUTO HPUX PAD LABEL

lifls /dev/dsk/c2t6d0
ODE MAPFILE SYSLIB CONFIGDATA SLMOD2
SLDEV2 SLDRV2 SLSCSI2 MAPPER2 IOTEST2
PERFVER2 PVCU SSINFO ISL AUTO
HPUX LABEL

I don't give a damn for a man that can only spell a word one way. (M. Twain)
Keith Bryson
Honored Contributor
Solution

Re: LIFS are not the same on mirrored disks

This one doesn't look to bad (off-line diags missing). Use the suggestion from RAC to fix this. If you are missing ALL LIF programs on some systems, see my suggestion to fix.

Keith
Arse-cover at all costs
RAC_1
Honored Contributor

Re: LIFS are not the same on mirrored disks

Again, sae reply.

You must have misssed following. ODE tools were not copied.

mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p HPUX -p AUTO -p LABEL -p PAD
/dev/rdsk/cxtxdx

Use updatediaglif2 if it is 64 bit kernel.
There is no substitute to HARDWORK
Alex Lavrov.
Honored Contributor

Re: LIFS are not the same on mirrored disks

I think I'll recreate the mirror from the beginning, because I see there are many problems.



Thanx a lot to all!
I don't give a damn for a man that can only spell a word one way. (M. Twain)