Operating System - HP-UX
1832849 Members
2788 Online
110047 Solutions
New Discussion

Re: VGactivate failed - Boot hang

 
GoHP
Advisor

VGactivate failed - Boot hang

Hi,

My hpux-11i server hung from boot up, because failed to activate one snapshot VG.

This VG is from an empty business copy LUNs (snapshot). The /etc/lvmtab has the snapshot devices listed, which ready for mounting snapshot disks.

1/ Does hpux time out if failed to activate the volume group ? Any patches ?

2/ How can I get the server boot up with snapshot vg in /etc/lvmtab ?

Thanks !

3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: VGactivate failed - Boot hang

Shalom,

1) Not that I know of, you need to take action to correct. A patched system is always less likely to do this than an unpatched system.

2) That depends on the contents of the logical volume. I doubt you can boot a system off of snapshot logical volumes because these generally only contain changes, not complete data.

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
Jim Mallett
Honored Contributor

Re: VGactivate failed - Boot hang

Are you booting from internal disk or from the snapshot?

I may be going down the wrong road here, if so..forgive me. You can stop VG activation at boot time by editing the /etc/lvmrc file by setting AUTO_VG_ACTIVATE to 0. You also have the option of picking and choosing which VGs are activated in the same file.

This isn't going to solve your overall problem, but it will get your system to boot and then you can debug from there.

Naturally, to edit /etc/lvmrc you are going to have to boot into single user mode.

I've run into this problem on a couple of occasions when some of my BCV volumes changed addresses on me and the system wouldn't boot. I just shut off AUTO_VG_ACTIVATION, booted, fixed the issue, and then returned AUTO_VG_ACTIVATION to 1.

Jim
Hindsight is 20/20
GoHP
Advisor

Re: VGactivate failed - Boot hang

I am booting from the internal disk.

The server reading /etc/lvmtab and try to attach the physical devices to the VG, where it failed and server hung. Few steps before reaching /etc/lvmrc file.

I hope PHCO_27408 patch will help with VA7410 LUN devices.