Operating System - HP-UX
1820397 Members
3507 Online
109624 Solutions
New Discussion юеВ

Production server stuck on EFI shell and cannot boot

 
SOLVED
Go to solution
Taurian
Valued Contributor

Production server stuck on EFI shell and cannot boot

First a little background.

One of the mirrored disk on the system had failed, so we replaced it physically. For reinstating the data in replaced disk from the original, we followed the steps in the attached file.

We got up to step 9, and we had to reboot the machine to free up the vg00 so that it could be deactivated.

Now the machine won't boot and is stuck on EFI boot menu. I am guessing that it is trying to boot from the newly replaced disk, whose data was not yet fully restored.

Can anyone help us to boot from the original disk? Machine is rx4640, OS is HPUX 11.23. The system is part of an MCSG cluster. Let me know if any other info is needed.
14 REPLIES 14
Torsten.
Acclaimed Contributor

Re: Production server stuck on EFI shell and cannot boot

Your procedure looks good.
Do you see any fs entries when you do a "map -r" from EFI, e.g. fs0: ?

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!   
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

Yes there is an "fs0:" entry. It gives the following error when I try to load hpux from it.

--------------------------
fs0:\> hpux

(C) Copyright 2004 Hewlett-Packard Development Company, L.P.All rights reserved

HP-UX Boot Loader for IPF -- Revision 2.018

Press Any Key to interrupt Autoboot
\efi\hpux\AUTO ==> boot vmunix -lq
Seconds left till autoboot - 0
AUTOBOOTING...
AUTO BOOT> boot vmunix -lq
Could not boot maintenance mode
--------------------------
Torsten.
Acclaimed Contributor

Re: Production server stuck on EFI shell and cannot boot

From the boot loader prompt, what do you get?

HPUX> ls -l

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!   
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

The "ls -l" command output is:

--------------
HPUX> ls -l
no such file or directory
--------------


The "map -r" command output is:

--------------
fs0:\> map -r
Device mapping table
fs0 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigC5E470F2-B558-11DD-8002-D6217B60E588)
blk0 : Acpi(HWP0002,0)/Pci(3|0)/Ata(Primary,Master)
blk1 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun0,Lun0)
blk2 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)
blk3 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part1,SigC5E470F2-B558-11DD-8002-D6217B60E588)
blk4 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part2,SigC5E4711A-B558-11DD-8003-D6217B60E588)
blk5 : Acpi(HWP0002,100)/Pci(1|0)/Scsi(Pun1,Lun0)/HD(Part3,SigC5E47142-B558-11DD-8004-D6217B60E588)
--------------
Torsten.
Acclaimed Contributor

Re: Production server stuck on EFI shell and cannot boot

Did you really sync the VG?

HPUX> ls -l
no such file or directory

This looks like your

/stand

is empty, hence no kernel.

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!   
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

No, that is the problem. We didn't sync the VGs before restart.
Torsten.
Acclaimed Contributor
Solution

Re: Production server stuck on EFI shell and cannot boot

What is the meaning of

"We got up to step 9, and we had to reboot the machine to free up the vg00 so that it could be deactivated." ?

Looks like you don't have any OS data on your disk - the disk is empty. What happens to the other disk or the mirror pair?

There is only 1 disk with an EFI area.

Do you have an ignite backup?

You will probably need it now ...

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!   
VK2COT
Honored Contributor

Re: Production server stuck on EFI shell and cannot boot

Hello,

Your alternate disk does not have /stand
set up properly.

Just last week I was teaching HP-UX for Experienced Admins in Australia and
one of the students made a mistake to
created a mirror on the second disk but the first slice was not /stand :)

Obviously, it did not work. Luckily,
it was a virtual lab and I helped him.
Than I sat down, and for the sake of my students create a small Shell script to
mirror and/or unmirror LVM boot disks
for HP-UX (it even takes care of
legacy and agile DSF in HP-UX 11.31):

http://www.circlingcycle.com.au/Unix-sources/HP-UX-11x-LVM-mirroring.sh.txt

I am still testing the script...

Maybe similar mistake happened in your case?

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

Thanks for the help guys.

Luckily we have ignite backup. We will be restoring from it shortly.
Suraj K Sankari
Honored Contributor

Re: Production server stuck on EFI shell and cannot boot

Hi,

As per your attached file I can see your EFI partition is only 100MB
If you are useing 11.22 then its ok if you are using 11.23 then your EFI partation should be 500MB

Create a partition description file:
HPUX 100%
# vi /tmp/partitionfile
3
EFI 500MB
HPUX 100%
HPSP 400MB

Suraj
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

Duly noted Suraj. Thanks.
pa8700
Regular Advisor

Re: Production server stuck on EFI shell and cannot boot

guy i think you dint have made alretnate boot entry.Then you cound have swaped the disk positions and boot in LVM maintenece modce and then vgcfg restore and vg sync could have helped you.hopes anyeay you have recovered.
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

All has been receoverd.
Thanks.
Taurian
Valued Contributor

Re: Production server stuck on EFI shell and cannot boot

Case solved by restoring from ignite backup.