HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX 11i v1 booting problem

 
SOLVED
Go to solution

HP-UX 11i v1 booting problem

Hello all,
After an impropoer shutdown. The system stops at the point shown below.

after some readings, as i'm new to hp-ux, i tried to boot in single-user mode but it also stops at the same point.

Any sugesstions on how to proceed in troubleshooting?

# ########################################

Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix
11018240 + 1925120 + 4538648 start 0x1fcce8




alloc_pdc_pages: Relocating PDC from 0xfffffff0f0c00000 to 0x3f900000.
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
NOTICE: autofs_link(): File system was registered at index 3.
NOTICE: cachefs_link(): File system was registered at index 4.
NOTICE: nfs3_link(): File system was registered at index 5.
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/3/1/0
igelan0: INITIALIZING HP PCI 1000Base-T Core at hardware path 0/1/2/0
igelan1: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/4
/1/0
igelan2: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/6
/1/0

System Console is on the Built-In Serial Interface
Logical volume 64, 0x3 configured as ROOT
23 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11i v1 booting problem

Hi,

Can please try to boot from your "Alternative" boot disk.?

If the Server comes up. than it could be you "Pri Boot disk" Gone Bad,



Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: HP-UX 11i v1 booting problem

Recommed action:-

Try Boot from "Alt Boot disk" if Server comes up,

Please follow below link, will guide you help fix.

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
Problems are common to all, but attitude makes the difference
sujit kumar singh
Honored Contributor

Re: HP-UX 11i v1 booting problem

hi


as the information shows
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix
happens to be your pRimary boot disk.

Did you have a mirror of teh boot disk?

Stop the server at the ISL when you see "Press any key to Interupt autoboot"
press any key at that time.

You shall come into the BCH MAin Menu.

in the BCH main Menu do the following:

Say you have a valid alternate path set in the system, to boot using the Alternate Boot Path you shall need to do this.

BCH MAIn MEnu> boot alt
Interact With IPL(y/n)?press No

Please also see at the endof the post how to boot in the Single user mode and LVM maint mode.
this shall be helpful trying to boot from the other path/Single-user/LVM maint mode.




BCH Main Menu>search

thi search command shall be searching all the potential boot Options.
among that try to identify the path as : disk(0/1/1/0.0) as your primary boot disk.
this shall be shown as random access media.

If you have any mirror of the boot disk you shall also be able to see that as the Random Access Media and the harware path .

Identify tha tpath and note the "PX" no associated with that.

then once identified as the Alternate Boot disk, You can do

BCH MAin Menu> boot PX
interact with IPL(y/n) ;; press Y and enter
you will come to ISL prompt

ISL>hpux -is -lq -- this shall boot in Single User mode and Quorum Overrride mode
ISL>hpux -lq -lm

This shall boot in the LVM Maintenance mode and Quorum override.



see trying those.

Re: HP-UX 11i v1 booting problem

It doesn't seem to be a disk failure, when i logged into the ISL, then 'bo pri' --> 'hpux -lm' i executed the ioscan cmd and got that disks status is 'claimed'.


i don't know whether there is a mirror of the boot disk or not!! how to know?

the search cmd returns the following
# ######################################


IODC
Path# Device Path (dec) Device Path (mnem) Device Type Rev
----- ----------------- ------------------ ----------- ----
P0 0/0/2/0.0 ide.0 Random access media 0

P1 0/1/1/0.1 intscsia.1 Random access media 0

P2 0/1/1/0.0 intscsia.0 Random access media 0

P3 0/1/1/1.2 intscsib.2 Random access media 0

P4 0/2/1/0.0 Random access media 7

P5 0/3/1/0.0 Random access media 7


thanks

Re: HP-UX 11i v1 booting problem

I got the following after the 'bo pri' --> 'hpux -lm'

/sbin/ioinitrc:
fsck: /dev/vg00/lvol1: possible swap device (cannot determine)
fsck SUSPENDED BY USER.
/dev/vg00/lvol1: No such device or address
Unable to mount /stand - please check entries in /etc/fstab
Skipping KRS database initialization - /stand can't be mounted
sujit kumar singh
Honored Contributor
Solution

Re: HP-UX 11i v1 booting problem

Hi


To know the if mirror is there or not once you boot in the LVM Miant mode using hpux -lm -lq ; if the system comes up you can do
#lvdisplay -v /dev/vg00/lvol3

if this shows No of Mirror copies more than 0 that means that you have a mirror.
#lvlnboot -v -- shall show the alternate boot Disk and the HW path of that ; search command O/p suggest that likey chances of being alt boot path is \
P2 0/1/1/0.0 intscsia.0 Random access media 0\


but the commands lvdisplay and setboot shall help you more

Once in the LVM maintenance mode you can run
#lvlnboot -v
#lvlnboot -R

#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -v -- to check
#lvlnboot -R

do an fsck for all FS except lvol2

#fsck /dev/vg00/lvol1
#fsck /dev/vg00/lvol3
#fsck /dev/vg00/lvol4
#fsck /dev/vg00/lvol5
#fsck /dev/vg00/lvol6
#fsck /dev/vg00/lvol7
#fsck /dev/vg00/lvol8
#fsck /dev/vg00/lvol9
#fsck /dev/vg00/lvol10



do a mount all
#mount -a

then reboot in the normal mode
#shutdown -ry 00


regards
sujit

Re: HP-UX 11i v1 booting problem

Hi Sujit,

that's what i did and the result

# ####################################
Processor is booting from the first available device.

To discontinue, press any key within 10 seconds.

Boot terminated.
.
.
.

Main Menu: Enter command or menu > bo pri
Interact with IPL (Y, N, or Cancel)?> y

Booting...
Boot IO Dependent Code (IODC) revision 0


HARD Booted.

ISL Revision A.00.43 Apr 12, 2000

ISL> hpux -lm

Boot
: disk(0/1/1/0.0.0.0.0.0.0;0)/stand/vmunix
11018240 + 1925120 + 4538648 start 0x1fcce8




alloc_pdc_pages: Relocating PDC from 0xfffffff0f0c00000 to 0x3f900000.
gate64: sysvec_vaddr = 0xc0002000 for 2 pages
NOTICE: autofs_link(): File system was registered at index 3.
NOTICE: cachefs_link(): File system was registered at index 4.
NOTICE: nfs3_link(): File system was registered at index 5.
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/2/1/0
td: claimed Tachyon XL2 Fibre Channel Mass Storage card at 0/3/1/0
igelan0: INITIALIZING HP PCI 1000Base-T Core at hardware path 0/1/2/0
igelan1: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/4
/1/0
igelan2: INITIALIZING HP A6825-60101 PCI 1000Base-T Adapter at hardware path 0/6
/1/0

.
.
.

/sbin/ioinitrc:
fsck: /dev/vg00/lvol1: possible swap device (cannot determine)
fsck SUSPENDED BY USER.
/dev/vg00/lvol1: No such device or address
Unable to mount /stand - please check entries in /etc/fstab
Skipping KRS database initialization - /stand can't be mounted


INIT: Overriding default level with level 's'

INIT: SINGLE USER MODE

INIT: Running /sbin/sh





# lvlnboot -v
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg00".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg01".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgtestdata".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgtestlog".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgdata".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vglogs".






# lvlnboot -v
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg00".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg01".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgtestdata".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgtestlog".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgdata".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vglogs".
.
.
.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c19t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.


Thanks a lot


Re: HP-UX 11i v1 booting problem

The result of lvlnboot -v and lvlnboot -R



# lvlnboot -v
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg00".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg01".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgtestdata".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgtestlog".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vgdata".
lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vglogs".





# lvlnboot -R
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t1d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c3t2d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c11t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c15t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c19t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c9t0d2":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c11t0d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c15t0d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c19t0d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c9t0d3":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c11t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c15t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c19t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c9t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c15t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c19t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
lvlnboot: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c11t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c15t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c19t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query physical volume "/dev/dsk/c9t0d1":
The specified path does not correspond to physical volume attached to
this volume group
vgcfgbackup: Warning: couldn't query all of the physical volumes.
vgcfgbackup: Volume group not activated.
Avinash20
Honored Contributor

Re: HP-UX 11i v1 booting problem

Hi,

After going into LVM Maintainance mode,

hpux -lm

Do the following

# vgchange -a y vg00
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -d /dev/vg00/lvol2
#lvlnboot -R
#lvlnboot -v

## Then boot the server in single user mode and check
"Light travels faster than sound. That's why some people appear bright until you hear them speak."

Re: HP-UX 11i v1 booting problem

i tried, it takes a very long time with no response at the end ( i ended the session after about 15 minutes not responding)

Re: HP-UX 11i v1 booting problem

i mean the
# vgchange -a y vg00

it takes long time without any response
sujit kumar singh
Honored Contributor

Re: HP-UX 11i v1 booting problem

hi try

#vgchange -a y -q n vg00

perhaps there is a Failure of the disks.

also show
#ioscan -fnCdisk

also do a
#lvdisplay -v /dev/vg00/lvol3

to know the alt boot disk if any.


regards
sujit

Re: HP-UX 11i v1 booting problem

Hi Sujit,

The output of the cmds are down, i need to ask you if the following has anything to do with the problem, it is displayed after hpux -lm execution (and before the prompt is reached)
# #######################################
/sbin/ioinitrc:
fsck: /dev/vg00/lvol1: possible swap device (cannot determine)
fsck SUSPENDED BY USER.
/dev/vg00/lvol1: No such device or address
Unable to mount /stand - please check entries in /etc/fstab
Skipping KRS database initialization - /stand can't be mounted
# #######################################


#vgchange -a y -q n vg00

No response


#ioscan

# ##########################################

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146807L
C
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146807L
C
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GST3146807L
C
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 7 0/2/1/0.1.1.0.0.0.0 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c9t0d0 /dev/rdsk/c9t0d0
.
.
.
.
.
.
disk 22 0/3/1/0.1.3.0.0.0.3 sdisk CLAIMED DEVICE NETAPP LUN
/dev/dsk/c19t0d3 /dev/rdsk/c19t0d3

# ##########################################

# lvdisplay -v /dev/vg00/lvol3
lvdisplay: Couldn't query logical volume "/dev/vg00/lvol3":
Volume group not activated.

lvdisplay: Cannot display logical volume "/dev/vg00/lvol3".
sujit kumar singh
Honored Contributor

Re: HP-UX 11i v1 booting problem

Refer to the appendix of When_Good_Disks_Go_bad

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

and the manpages of the command lvsplit(1M) and lvmerge(1M).

http://docs.hp.com/en/B2355-60130/lvsplit.1M.html

http://docs.hp.com/en/B2355-60130/lvmerge.1M.html





HI


the messsage that you said might be due to the corruption in the LVM information regarding the root boot and wap config, that can possibly be set using the list og lvlnboot command as said earlier,
the other part i would like to suugest is to use

on the BCH Main menu> boot alt

or BCH MAIN MENU>SEarch
Boot using pX for the path


P0 0/0/2/0.0 ide.0 Random access media 0 --- DVD rom

P1 0/1/1/0.1 intscsia.1 Random access media 0 -- primary path

P2 0/1/1/0.0 intscsia.0 Random access media 0 -- can be alternate path

P3 0/1/1/1.2 intscsib.2 Random access media 0 -- can be altrnate path


you can try booting using the Suspected alternate path giving the syntax after the search command
as

boot 0/1/1/0.1
or
boot 0/1/1/1.2

If you have an older record of the VG vg00 like earlier Nickel then that can be helpful





regards
sujit
sujit kumar singh
Honored Contributor

Re: HP-UX 11i v1 booting problem

Hi Mustafa,

please ignore this part in the earlier post
-___________________________________________
Refer to the appendix of
When_Good_Disks_Go_bad
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

and the manpages of the command lvsplit(1M) and lvmerge(1M).

http://docs.hp.com/en/B2355-60130/lvsplit.1M.html

http://docs.hp.com/en/B2355-60130/lvmerge.1M.html

_____________________________________________


This was by mistake posted:


NOTE: PLEASE DO NOT ASSIGN ANY POINTS TO THIS POST
regards
sujit
Avinash20
Honored Contributor

Re: HP-UX 11i v1 booting problem

vgchange hangs
This seems to be a serious H/W issue and you might need to replace the disk.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: HP-UX 11i v1 booting problem

You could check if the disk is perfect via booting from the recovery CD and running fsck on the disk. If this hangs then surely H/W needs to be checked.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."

Re: HP-UX 11i v1 booting problem

Hi Sujit and Avinash,
i'm really grateful but i'm also got tired.
i'll continue tomorrow and i'll keep you updated and i hope you will keep following with me.

Thanks a lot

Re: HP-UX 11i v1 booting problem

Hi Sujit,
I used # hpux -lm -lq as you said before
and that time when i executed the
# vgchange -a y -q n vg00
it was successful,

while executing the fsck, i got the following
# #########################################

# fsck /dev/vg00/lvol1
fsck: /dev/vg00/lvol1: possible swap device (cannot determine)

continue (y/n)? y
** /dev/vg00/lvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
176 files, 0 icont, 10638 used, 28704 free (256 frags, 3556 blocks)
***** MARKING FILE SYSTEM CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****

# #######################################

At the mount step, i got the following

# ########################################

# mount -a
vxfs mount: /dev/vg00/usrvol is corrupted. needs checking
vxfs mount: Cannot open /dev/vg01/lvol2: No such device or address
vxfs mount: Cannot open /dev/vg01/lvol1: No such device or address
# ########################################




Any recommendation?
sujit kumar singh
Honored Contributor

Re: HP-UX 11i v1 booting problem

hi



After the vgchange -a y -q n is successful

Please post the O/Ps of
1)#vgdisplay -v vg00 (please post the O/P)

note the PVs and the LVs that are there.
you shalll need to do an fsck on all the LVs trying to mount that.
2)#cat /etc/fstab (please post the O/p)

Please post the O/ps of following also and do this is in sequence

#lvlnboot -r /dev/vg00/lvol3
#lvlnboot -b /dev/vg00/lvol1
#lvlnboot -s /dev/vg00/lvol2
#lvlnboot -d /dev/vg00/lvol2

#lvlnboot -v

do not use fsck on /dev/vg00/lvol2 that is the swap of the system and does not have a Filesys on that.

For all the LVs that you are getting in the vgdisplay -v vg00 O/P earlier do an fsck

after the fsck on all is Complete, do
#mount -a

#bdf
to check

and if all is well then go for a reboot

regards
sujit

Re: HP-UX 11i v1 booting problem

Hi Sujit,
i'm really thankful for you.

Actually i completed as your reply dated 'Feb 21, 2009 06:54:08 GMT' and the system went up normally.

i'll try to follow your last reply but after the working hours.

Thanks a lot.

Best wishes
sujit kumar singh
Honored Contributor

Re: HP-UX 11i v1 booting problem

Hi Mostafa,

Welcome but i tell this in good intention and request you to have alook at the following thread and assign points.

Assigning points to the replies helps you always get better responses.
http://forums1.itrc.hp.com/service/forums/helptips.
do?#33
regards
sujit

Re: HP-UX 11i v1 booting problem

I did :)