Operating System - HP-UX
1753943 Members
9369 Online
108811 Solutions
New Discussion

Re: LVM failure; System Panic

 
SOLVED
Go to solution
rianui
Trusted Contributor

Re: LVM failure; System Panic

Hi Torsten,

 

The alternate drive cannot boot either. Both drives are reporting the same panic error.

 

Regards,

 

Rianui

rianui
Trusted Contributor
Solution

Re: LVM failure; System Panic

Hi Torsten,

 

Root disk 0 gave me trouble coming up but the mirror worked after a while. Here is what I finally did to bring disk 1 up.

 

- I got to the shell:

Shell> map

 

- I then selected the mirror drive:
Shell>blk6:

 

- I changed to the EFI and then to the HPUX folders:
blk6:\> cd EFI
blk6:\EFI>cd HPUX

 

- Then I started the OS in maintenance mode:
blk6:\EFI\HPUX> hpux -lm

 

- In maintenance mode I  renamed the lvmtab file:
# mv /etc/lvmtab /etc/lvmtab.old

 

_ Imported the volume group vg00:

# vgimport vg00 /dev/dsk/c2t1d0s2

 

- I set LVM volume group availability:

# vgchange -a y /dev/vg00

 

- I then run fsck and transitioned system to run level 3

# init 3


The system is currently up. I will take the necessary DB and application backups and once the client is ready, I will rebuild the system and do a proper ignite backup. Thanks a lot for your support!

 

Regards,

 

Rianui

 

 

 

Torsten.
Acclaimed Contributor

Re: LVM failure; System Panic

Good news.

It is not recommended to do a init 3 from maintenance mode.

However, if it is up now, you should get more details and try to repair.

How about the the partitions?

e.g.

# idisk /dev/rdsk/c2t1d0

then

# lvlnboot -v

# vgdisplay -v vg00

etc ...



If there are still problems, ignitebackup will likely fail.

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!   
rianui
Trusted Contributor

Re: LVM failure; System Panic

Hi Torsten,

 

See the document attached.

 

Regards,

 

Rianui

Torsten.
Acclaimed Contributor

Re: LVM failure; System Panic

According to the earlier ioscan it looks like both internal disks were bootable, but now only 1 disk is in vg00.

 

 

There are 3 partitions (correct), but device files for 7 partitions.

 

I would rmsf them and re-create. Then I would mirror the disk again.


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!   
rianui
Trusted Contributor

Re: LVM failure; System Panic

Hi Torsten,

 

Could you kindly give me the commands to do this ? :)

 

Torsten.
Acclaimed Contributor

Re: LVM failure; System Panic

Mirroring?

Refer to the appendix:

When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf


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!   
rianui
Trusted Contributor

Re: LVM failure; System Panic

I meant the rmsf'ing' :)

Anyway, disk 0 has given me too much trouble and still won't come up. The live system is now running on disk 1. I will do a back-up of the system soon and just rebuild the OS to save time.

 

Thanks again for your invaluable support.

 

Regards,

 

Rianui