Operating System - HP-UX
1833154 Members
3828 Online
110051 Solutions
New Discussion

Re: Boot area corrupted after power down C3000 Visualize

 
Oleg Zieaev_1
Regular Advisor

Boot area corrupted after power down C3000 Visualize

Hi
I recently got C3000 HP workstation and run into problem with missing boot drive if it reboots or has power failure.
Currently using work around and do boot to recovery shell to fix it each time. I do not have that many power failures. But still want to fix it. B180 standing right next to it is booting fine each time, even after power downs.
lvlnboot reports missing boot volume and lif area got 'hpux -lm /dev/dsk/...'. I understand why system boots in LVM maintenace mode. However root cause is still in doubts.
Please advise.

Thanks,
-0leg
Professionals will prevail ...
19 REPLIES 19
RAC_1
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

When in lvm maintenance mode, fsck all lvols.
Also, is this boot disk properly fitted into the box. check for loose connections. cables etc.
Which version of OS??

Anil
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

Hi Oleg,

You can try and fix the BRDA if that is what is wrong. you use the lvlnboot command to fix that.

Can you post the output of your "lvlnboot -v /dev/vg00" command.

What is the exact error you get when you boot / reboot the system.

Hope this helps.

Regds
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

Hi.

#:> uname -a
HP-UX ewc01 B.11.11 U 9000/785 2016205727 unlimited-user license

#:> lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t5d0 (10/0/15/1.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t5d0
Root: lvol3 on: /dev/dsk/c3t5d0
Swap: lvol2 on: /dev/dsk/c3t5d0
Dump: lvol2 on: /dev/dsk/c3t5d0, 0

Boot: lvol1 is missing after I boot to recovery shell.
It also tells me to redefine root,dump and swap areas after I use option "b" in "recover unbootable hard drive" menu.

-0leg
Professionals will prevail ...
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

Hi.

Error is on the console as well as on the LCD screen - no boot device .

-0leg
Professionals will prevail ...
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

Just did shutdown and startup.
(system did not crash).
ON LCD:
WAR A008: EXT IO
no boot device

on the screen:
Booting ...
ENTRY_INIT failed. Status: -3 Can not complete without error.

Booted to ISL>
ISL> hpux ll
is working.
Professionals will prevail ...
RAC_1
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

Is it booting into single user mode?? If yes, run mkboot -a "hpux -lq" /dev/rdsk/cxtxdx

Anil
There is no substitute to HARDWORK
RAC_1
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

Is it booting into single user mode?? If yes, run mkboot -a "hpux -lq" /dev/rdsk/cxtxdx

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

lvlnboot -R

Anil
There is no substitute to HARDWORK
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

Booted to single user mode.
Run all commands.

Should I reboot or reboot -n?
Professionals will prevail ...
RAC_1
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

reboot will do.

Anil
There is no substitute to HARDWORK
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

rebooted.
same error again.
Professionals will prevail ...
RAC_1
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

Goto single user mode and post the output of the following command.

lifls -l /dev/rdsk/cxtxdx

Anil
There is no substitute to HARDWORK
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

AUTO area is empty.
lifcp gives io error when I try to list the content:
lifcp /dev/rdsk/c3t5d0:AUTO -

Might this be a HDD problem?
Professionals will prevail ...
Bill Hassell
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

It is doubtful that this is a hard disk problem. You would see error messages like I/O error or errno 5. The lif area is the first filesystem on the disk but someone playing with the lif commands could have removed everything or perhaps just the AUTO file was removed. Just recreate the AUTO file in /tmp, then use lifcp to copy it to a new AUTO file.


Bill Hassell, sysadmin
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

This is fresh install (less than 7 days). I am the only user for now on this system.
Also, even after I put "hpux" into it via mkboot -a "hpux" /dev/rdsk/c3t5d0
it is working up to the time of power down.
(shutdonw -h).
Professionals will prevail ...
RAC_1
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

disinfo -v /dev/rdsk/cxtxdx

Anil
There is no substitute to HARDWORK
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

SCSI describe of /dev/rdsk/c3t5d0
Vendor: IBM
id: DXHS36D
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
rev level: 02A0
block per disk: 71132960
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
(Additional enquiry bytes: ...... )
Professionals will prevail ...
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

tried to copy AUTO file from /tmp.
lifcp gives an error: file already exist
Professionals will prevail ...
Bill Hassell
Honored Contributor

Re: Boot area corrupted after power down C3000 Visualize

You'll need to remove the AUTO file (since it exists but has nothing in it (lifrm) and then use lifcp to copy it back.


Bill Hassell, sysadmin
Oleg Zieaev_1
Regular Advisor

Re: Boot area corrupted after power down C3000 Visualize

done.
reboot - works.
power down - failed again.
this time it does not boot to ISL.
has to go to recovery CD.
Professionals will prevail ...