1821985 Members
3433 Online
109638 Solutions
New Discussion юеВ

Re: lvlnboot -v hangs

 
SOLVED
Go to solution
Debbie Smith
Advisor

lvlnboot -v hangs

I have a 11.00 hpux system
when I try to do a lvlnboot -v
it prints out the appropriate
data then just hangs. cntlC
does not kill it and a kill -9
does nothing either.
What could be causing this and how do I kill off the
lvlnboot processes that are now owned by init? I was trying to do a make_tape_recovery.
9 REPLIES 9
Sanjay_6
Honored Contributor

Re: lvlnboot -v hangs

Hi Debbie,

Check for LVM patches for your version of OS and platform.

Hope this helps.

Regds
Sridhar Bhaskarla
Honored Contributor

Re: lvlnboot -v hangs

Hi Debbie,

Do you see any problems with any of your disks?. Does your vgdisplay -v return proper information without any errors at the beginning?.

If your root disk is mirrored, you need to make sure that there are no stale entries and both the disks are good.

I have lvlnboot hanging where there are inaccessible/bad disks but are configured in volume groups.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
S.K. Chan
Honored Contributor

Re: lvlnboot -v hangs

Usually if you have inaccessible root disks, this will hang. It'll will take a while before lvlnboot times out. What does
vgdisplay -v
says ?
G. Vrijhoeven
Honored Contributor

Re: lvlnboot -v hangs

Hi Debby,

When a process acceses hardware the proces swithes into kernel mode. A process in this state cannot be killed. Do you have a problem with your disk, duplicated scsi id on the tape device?

Did you install the latest patches?

http://europe-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=0fe671db0f396dc5d5

Hope this will help

Gideon
melvyn burnard
Honored Contributor

Re: lvlnboot -v hangs

try to do
lvlnboot -v
and see which ones work, and which cause a "hang"
This may make it easier to look for the problem.
If you havea large RAID array out there such as an EMC, and you hav eBCV's an dsplit them off, this may be a cause. You could have what I rfere to as "ghost" pv's, i.e. a pv the VG thinks it has, but actually does not have.

just a thought
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Debbie Smith
Advisor

Re: lvlnboot -v hangs

lvlnboot -v vg00 works.
vg00 is the only group that I have.
I do have the latest and greatest patches.
vgdisplay -v vg00 returns with everything ok.
lvdisplay everything is current with the mirroring.
I guess what I need to know is how would I get around make_tape_recovery from doing the lvlnboot -v? this is my command line: make_tape_recovery -x inc_entire=vg00 -v -a /dev/rmt/0mn
Anthony deRito
Respected Contributor
Solution

Re: lvlnboot -v hangs

Debbie, if none of the previous responses help you, you may want to try to rebuild your /etc/lvmtab file without alternate links... that is if you use alternate links. lvlnboot scans alternate links and it may be hung up somewhere on one of those.

hostname# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/28.2.0) -- Boot Disk
Root: lvol1 on: /dev/dsk/c1t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0

Current path "/dev/dsk/c6t4d0" is an alternate link, skip.
Current path "/dev/dsk/c6t4d1" is an alternate link, skip.
Current path "/dev/dsk/c5t3d4" is an alternate link, skip.
Current path "/dev/dsk/c6t5d0" is an alternate link, skip.
Current path "/dev/dsk/c6t5d1" is an alternate link, skip.
Current path "/dev/dsk/c5t6d2" is an alternate link, skip.
Current path "/dev/dsk/c5t6d3" is an alternate link, skip.

Just a thought....

Tony
Brant Evans
Occasional Advisor

Re: lvlnboot -v hangs

Check to see that you do not have PHKL_24646 installed. It is known to cause LVM commands to hang. If this patch is installed then it is recommended to revert to PHKL_24268.


From ITRC patch description for PHKL_24268:

A problem has been encountered with superseding patches PHKL_24646 and PHKL_25118. Under certain conditions, they can cause LVM commands to hang. PHKL_24268 does not exhibit this same behavior, so it is being re-released until a replacement patch is available.

Debbie Smith
Advisor

Re: lvlnboot -v hangs

It looks like there was another volume group that was created but no longer being used with alternate links.
Thanks for the help.