Operating System - HP-UX
1758503 Members
2643 Online
108872 Solutions
New Discussion юеВ

booting with alternate path

 
SOLVED
Go to solution
Ragni Singh
Super Advisor

booting with alternate path

Hello everyone,

I am getting this error message when I try booting off my alternate disk. Any ideas as to what is going on here.

WARN C7F0
IPL error: bad LIF magic
WARN C7F0
Error Reading IPL


9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: booting with alternate path

Try a forum search on
"bad LIF magic".

Pete

Pete
Paula J Frazer-Campbell
Honored Contributor
Solution

Re: booting with alternate path

Hi

Looks like the lif is corrupt.

If you can boot from primary and recreate the mirror.

HP's system Admin tasks manual chapter 7.


1> pvcreate -B /dev/rdsk/xyz

2> vgextend /dev/vg00 /dev/dsk/xyz

3> mkboot /dev/rdsk/xyz

4> mkboot -a "hpux (;0) /stand/vmunix" /dev/rdsk/xyz

-a auto_file_string If the -a option is specified, mkboot
creates an autoexecute file AUTO on
device, if none exists. mkboot deposits
auto_file_string in that file. If this
string contains spaces, it must be quoted
so that it is a single parameter.

or use

4> mkboot -a "hpux -lq /stand/vmunix" /dev/rdsk/xyz

5> lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/xyz -do this for all the lvols on root disk.

6> lvlnboot -R

7> lvlnboot -v To check if you see both the disks as boot disk.


Paula
If you can spell SysAdmin then you is one - anon
A. Clay Stephenson
Acclaimed Contributor

Re: booting with alternate path

My best guess is that you did not do a pvcreate -B and instead did a pvcreate. No boot area was reserved.
If it ain't broke, I can fix that.
Kevin Wright
Honored Contributor

Re: booting with alternate path

Yep, boot off the primary, and remirror to the alternate with pvcreate -B.
Helen French
Honored Contributor

Re: booting with alternate path

Hi Sanman:

This problem occurs when you have some problem reading the lif area of the disk. Did you do the pvcreate with -B ?

Also check and see whether you can boot with -lm mode with hpux.

HTH,
Shiju
Life is a promise, fulfill it!
Jeff Schussele
Honored Contributor

Re: booting with alternate path

Hi Sanman,

This usually indicates that the disk is bad.
Try booting from the primary & running diskinfo & even STM utils against that disk.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Pete Randall
Outstanding Contributor

Re: booting with alternate path

Sanjay_6
Honored Contributor

Re: booting with alternate path

Hi Sanman,

ARe you able to boot through your second disk and get to the ipl prompt. If not then, your disk seems to be unbootable. try

bo alt
if your alt address is set to secondary disk, select y to interact with ipl.

at the ipl prompt, trye the boot command. If you are able to get to the ipl prompt and then while trying to boot it says bad lif magic, your bootstring is wrong. You can correct the same by booting manually and then using the command "mkboot"

You can also have a look at the link below for more help,

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=5e7f184d0e2ecbcfb6/screen=ckiDisplayDocument?docId=200000048194545

Hope this helps.

Regds
Martin Johnson
Honored Contributor

Re: booting with alternate path

Trying reading the LIF area on the disk.

lifls /dev/dsk/c1t0d0

You should get something like:

ISL AUTO HPUX PAD LABEL

If there is no LIF area, you will get the error:

lifls: Can't list /dev/dsk/c1t0d0; not a LIF volume.