Operating System - HP-UX
1834814 Members
2302 Online
110070 Solutions
New Discussion

Re: Boot disk unreachable, boots from single user mode w/ init 6

 
Janet Sanberg
Frequent Advisor

Boot disk unreachable, boots from single user mode w/ init 6

I have an rp7420 where upon reboot, it will not boot off it's primary boot disk(error is boot disk unteachable) unless I bring it into single user mode at ISL prompt and then do an init 6. Then it will boot off that very same disk with no problem. Is there some setting I am missing? It is set to autoboot. This root disk was replaced some months ago as well.
12 REPLIES 12
V. Nyga
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Hi,

interrupt boot process and check primary/secondary boot path.
Also do a search for bootable pathes.
Check if it's equal.

Also autosearch on?

Volkmar
*** Say 'Thanks' with Kudos ***
Enrico P.
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Hi,
what is the boot string of the boot disk?

Check with the command:

lifcp /dev/rdsk/cXtXdX:AUTO -

Also post the output of command:

lvlnboot -v

setboot


Enrico
DCE
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6



Is the root disk mirrored? If so, is the mirror disk good? If you do not have the HPUX -lq string in your boot command, and lose your mirrored disk, then the system will only boot to single user mode because you no longer have a quorum.

You can verfy by interrupting the boot process, and answering yes to interact with the ISL. At the ISL prompt enter HPUX -lq, and see if the system comes up in multiuser mode........

Enrico P.
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6

HI,
eventually you can configure your primary and alternate boot disk and the option autosearch and autoboot with the setboot command.

Enrico
Janet Sanberg
Frequent Advisor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Enroci P.

Here is the output you requested:

lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c0t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c3t6d0 (1/0/1/1/0/1/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Root: lvol3 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
/dev/dsk/c3t6d0
Dump: lvol2 on: /dev/dsk/c0t6d0, 0

setboot
Primary bootpath : 1/0/0/3/0.6.0
Alternate bootpath : 1/0/1/1/0/1/1.6.0

Autoboot is ON (enabled)
Autosearch is OFF (disabled)

Note: The interpretation of Autoboot and Autosearch has changed for
systems that support hardware partitions. Please refer to the manpage.

Note from Janet:

Autosearch is also off on this machnie's business continutiy counterpart, which was cloned from this machine, and the issue does not exist there.

Any ideas? Thank you.
Kent Ostby
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6

The autoboot string is probably incorrect.

If you go to isl and just type:

hpux

or

hpux /stand/vmunix

does that work?

if it does then you need to reset the autoboot string with:

mkboot -a "hpux /stand/vmunix" /dev/rdsk/

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Janet Sanberg
Frequent Advisor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Kent:

Anything involving having to go to the ISL is not possible right now as this machine is HA, but I can request access to do the mkboot and see if it makes a difference next reboot.

Thanks.
DCE
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6


Janet,

you can display the boot string on a bootable disk with the following command

lifcp /dev/dsk/c0t6d0:AUTO -

substutute your disk address for c0t6d0

This will display the command the ISL uses to try to boot.
Enrico P.
Honored Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Hi,
with the SO running you can check the boot string in the boot disks with the command:

lifcp /dev/rdsk/c0t6d0:AUTO -
lifcp /dev/rdsk/c3t6d0:AUTO -

It should be "hpux -lq".

You can change it with the command:

mkboot -a "hpux -lq" /dev/rdsk/c0t6d0
mkboot -a "hpux -lq" /dev/rdsk/c3t6d0

You can enable the autosearch also with the command:

setboot -s on

Enrico

Janet Sanberg
Frequent Advisor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Enrico and DCE:

Thank you, thank you, thank you. It did not have quorum but it does now, and without downtime - even better!!!!

And thank you to all else who responded!!!

Janet

Janet Sanberg
Frequent Advisor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Boot disk did not have quorum. Needed to run:

mkboot -a "hpux -lq" /dev/rdsk/c#t#d#
Torsten.
Acclaimed Contributor

Re: Boot disk unreachable, boots from single user mode w/ init 6

Next time you reboot the system, stop at BCH.

Go to the COnfiguration menu and have a look at the path flags.

Configuration Menu: Enter command > pf

example:

Configuration Menu: Enter command > pf

Primary Boot Path Action
Boot Actions: Boot from this path.
If unsuccessful, go to next path.

HA Alternate Boot Path Action
Boot Actions: Boot from this path.
If unsuccessful, go to BCH.

Alternate Boot Path Action
Boot Actions: Go to BCH.

You can adjust the behaviour here, see

> he pf

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!