System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

help fo boot disk failure recovery

GNOM
Frequent Advisor

help fo boot disk failure recovery

Hi All,

I'm running HP-UX 11i V1. I have 2 boot disques configured in RAID 1. The system Hang during the boot process. After troublshooting I check out that one of the two boot disks dead. So I removed the bad disk and reboot the system in LVM maintance mode (hpux -lm). I tried to activate the root vg (vg00) with no quorum check but the operation did'nt succed. I also try to boot the system with hpux -lq without success(I receive the following Messsage( ALERT LEVE: 12 = Softawre failure) during the system boot.

Could someone help me Please ?

Best Regards.

GNOM
13 REPLIES
Johnson Punniyalingam
Honored Contributor

Re: help fo boot disk failure recovery

Hi Amignom
>> ALERT LEVE: 12 = Softawre failure) during the system boot.<<

The above run could "/stand/vmunix" file problem

so you need rever to you /stand/vmunix.prev

ISL> hpux ll /stand

Ls
: disk(2/0/1.3.0.0.0.0.0;0)/stand
dr-xr-xr-x 3 2 2 1024 ./
drwxr-xr-x 17 0 0 1024 ../
-rw-r--r-- 1 0 3 191 bootconf
drwxr-xr-x 2 0 0 1024 build/
-rw-r--r-- 1 0 0 632 ioconfig
-rw-r--r-- 1 0 3 82 kernrel
-r--r--r-- 1 0 3 426 system
-rw-r--r-- 1 0 3 437 system.prev
-rwxr-xr-x 1 0 3 7771408 vmunix*
-rwxr-xr-x 1 0 3 7771408 vmunix.prev*

cp vmunix.prev vmunix

ISL > bo pri

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Steven E. Protter
Exalted Contributor

Re: help fo boot disk failure recovery

Shalom,

What type of system is this?

Are you using hardware raid or software raid?

What happened is one of the dangers of setting up a 2 disk boot quorum.

I learned this lesson the hard way myself. Its important to include a third disk in the boot vg00 to avoid this.

You will probably need to boot into recovery mode with OS media and attempt to effect repairs.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
GNOM
Frequent Advisor

Re: help fo boot disk failure recovery

Thanks for your replies. The Mirronring is soft with LMV.

Best Regards
sujit kumar singh
Honored Contributor

Re: help fo boot disk failure recovery

Hi
its OK that the mirroring is on LVM. As Johnson has suggested please try booting the system in the LVM maint mode using hpux -lq at the ISL> Prompt

YOu can also try booting the Other Disk also that is primary boot path if that not succceds then using the Alternate Boot Path as follows:

ON the ISL Prompt: Try the following things:

BCH Main Menu>search
BCH Main MEnu>search ipl
Note the Hardware paths as being listed.
like 0/1/0/1.0.0.0 etc
search shows all the Potential boot devices and search ipl shows the Boot Devices that has got a valid ISL in that.
from that list as being displayed try booting from the paths as shown like

Main Menu> boot 0/1/0/1.0.0.0

You can see booting from the other disk as such also and as suggested by Johnson you can also try booting the Alternate Kernel as well as give the O/Ps as appearing on the screen.
regards
sujit
GNOM
Frequent Advisor

Re: help fo boot disk failure recovery

Hi Johnson,

How can I copy the /stand/vmunix.prep in ISL mode ?
When boot in LVM maintenance mode, /stand/vmunix is unavailable.


best regards
Vinoyee Madashery Poulo
Frequent Advisor

Re: help fo boot disk failure recovery

Boot the system into single user mode as follows.
ISL> hpux -is /stand/vmunix.prev
then activate the root vg
vgchange -a y vg00
mountall
then copy the vmunix.prev to vmunix
then execute shutdown -ry now
boot the system with quorum override
GNOM
Frequent Advisor

Re: help fo boot disk failure recovery

dear vinoyee,

While trying "hpux -is /stand/vmunix.prev" I still receive software failure message (ALERT LEVE: 12 = Softawre failure).

Please, let's continious searching a way to activate the root VG.

regards
sujit kumar singh
Honored Contributor

Re: help fo boot disk failure recovery

Hi

Can you please let have all the screen captures of what and all is happening.
YOu can boot the system as earlier suggested using the Other Kernel as well as from the other boot path whatever possible and using the -lq option that shall help booting the system whatever boot path you shall use in the Quorum Override mode.

also can have a look at the following threads as that say that the Dump analysis needs to be done for this error.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236088606003+28353475&threadId=1272034

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236088677177+28353475&threadId=739981
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1236088810301+28353475&threadId=1124516

regards
sujit
Torsten.
Acclaimed Contributor

Re: help fo boot disk failure recovery

Please capture the console output while booting or review the console log from GSP/MP and post.

Meanwhile try as suggested:

ISL> hpux ll /stand

from ISL prompt.

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!   
GNOM
Frequent Advisor

Re: help fo boot disk failure recovery

thanks all for your replies.

Finaly I reinstalled the system an old ignite. Now the system boot fine but I have another problem. Then system give different special files for external LUNS (C5t1d0 and C6t0d0 instead of C4t1d0 and C5t0d0). So I'm not able to import old VG.

I tried to remove special files and recreate them but no change.

My question is if it's possible to create manualy a special file for a device. Exple : for the disk in path 0/4/0/0.1.0 with instance 3 create the special fife /dev/dsk/C4t1dO ?

Regards
Torsten.
Acclaimed Contributor

Re: help fo boot disk failure recovery

You don't really need to modify the device files, but you can import the "old vg" with new device files.

What is this command telling you?

# vgscan -p -v

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

Re: help fo boot disk failure recovery

Do the folloing

# strings /etc/lvmtab
# mv /etc/lvmtab /etc/lvmtab.
# vgscan -v
# strings /etc/lvmtab

If everything all-right
# vgchange -a y
# fsck -y
# mount -a
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Johnson Punniyalingam
Honored Contributor

Re: help fo boot disk failure recovery

My question is if it's possible to create manualy a special file for a device. Exple : for the disk in path 0/4/0/0.1.0 with instance 3 create the special fife /dev/dsk/C4t1dO ?

NO.

vgimport "device file" much better apporach.

Example:-

# Scan your current system to identify all disks by their volume groups.

/usr/sbin/vgscan -p -v

# Import the LVM disk to the current system, citing the block device special file name you noted when the system booted up and the mapfile you created when invoking vgexport at the beginning of the procedure. You can preview the effect of the import by using the -p option.

vgimport -pv -m mapfile /dev/vg06 block_device_special_file
vgimport -v -m mapfile /dev/vg06 block_device_special_file

Thanks,
Johnson











Problems are common to all, but attitude makes the difference