1833784 Members
2420 Online
110063 Solutions
New Discussion

Where to find LIF files?

 
SOLVED
Go to solution
Ralph Grothe
Honored Contributor

Where to find LIF files?

Got a new rental server with HP-UX 11.00 preinstalled.
As usual the root VG hasn't been mirrored.
Doing this myself I started

(n.b. /dev/rdsk/c2t2d0 is the yet unallocated disk)

pvcreate -B /dev/rdsk/c2t2d0
vgextend /dev/vg00 /dev/rdsk/c2t2d0
mkboot /dev/rdsk/c2t2d0

when I now look at the LIF area the newly created still seems to lack some utility progs

# lifls /dev/rdsk/c[12]t2d0
ODE MAPFILE SYSLIB CONFIGDATA SLMOD2
SLDEV2 SLDRV2 SLSCSI2 MAPPER2 IOTEST2
PERFVER2 PVCU SSINFO HPUX ISL
AUTO LABEL

ISL AUTO HPUX PAD LABEL



See, the new one only has 5 entries.
I guess I need to add the lacking with mkboot's -i option, but where do I find them?
I only found what seems to be the standard set

# lifls /usr/lib/uxbootlf
ISL AUTO HPUX PAD

Madness, thy name is system administration
6 REPLIES 6
S.K. Chan
Honored Contributor

Re: Where to find LIF files?

It's in /usr/sbin/diag/lif directory

# ll /usr/sbin/diag/lif/updatediaglif
=> For 11.x 32bit
# ll /usr/sbin/diag/lif/updatediaglif2
=> For 11.x 64bit

Your mkboot command would be ..(ex: c2t2d0)

# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0
=> Install ODE LIF files while "protecting" the existing LIF files.

Victor BERRIDGE
Honored Contributor

Re: Where to find LIF files?

Hi,
cd /usr/sbin/diag/lif
#mkboot -b updatediaglif -p ISL -p HPUX -p LABEL -p AUTO /dev/rdsk/c1t5d0 or whatever


All the best

Victor
Ralph Grothe
Honored Contributor

Re: Where to find LIF files?

Many thanks for showing where the progs were hidden, but
when I run this command

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 $(lifls /usr/sbin/diag/lif/updatediaglif2|perl -npe 's/(\S+)/-p $1/g') /dev/rdsk/c2t2d0

it responds

LIF file ODE not present on /dev/rdsk/c2t2d0.

Does this mean I still have to install this ODE stuff?
Do I need a special license for it or is it complimentary stuff?
Madness, thy name is system administration
S.K. Chan
Honored Contributor
Solution

Re: Where to find LIF files?

You have to have ODE (offline diagnostics) LIF files loaded and it does not need any special licenses. Just run it as such ..

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c2t2d0

What do you see when you run ..

# lifls /dev/rdsk/c2t2d0

afterwards ..
Ralph Grothe
Honored Contributor

Re: Where to find LIF files?

Outch, I'm sorry Chan for not carefully reading your first posting.
You said it, "PRESERVE", the -p option.
I'm a complete idiot.
I first interpreted the -p switch exactly the opposite way.
Now having issued the command as you first wrote did what I wanted :-)


# lifls /dev/rdsk/c[12]t2d0
ODE MAPFILE SYSLIB CONFIGDATA SLMOD2
SLDEV2 SLDRV2 SLSCSI2 MAPPER2 IOTEST2
PERFVER2 PVCU SSINFO HPUX ISL
AUTO LABEL

ODE MAPFILE SYSLIB CONFIGDATA SLMOD2
SLDEV2 SLDRV2 SLSCSI2 MAPPER2 IOTEST2
PERFVER2 PVCU SSINFO ISL AUTO
HPUX PAD LABEL
Madness, thy name is system administration
S.K. Chan
Honored Contributor

Re: Where to find LIF files?

I noticed your perl line shows me ..
-pODE
-pMAPFILE
-pSYSLIB
-pCONFIGDATA
-pSLMOD2
-pSLDEV2
-pSLDRV2
-pSLSCSI2
-pMAPPER2
-pIOTEST2
-pPERFVER2
-pPVCU
-pSSINFO

which is wrong, you only want to preserve (-p option) the LIF files that are already in c2t2d0 and those files are ..

ISL AUTO HPUX PAD LABEL