LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

PA-RISC 11.3 : Non-lvm root on LVM disk

 
suvy12
Frequent Advisor

PA-RISC 11.3 : Non-lvm root on LVM disk

Hi,

We have HP-UX 11.3 PA Risc server which is not coming up giving a error

WARNING: ROOT device 0x1f100000 is a non-LVM partition, disallowed on LVM disk.
WARNING: ROOT device 0x1f100000 has been deconfigured (set to 0xffffffff).


-----------------------------------------------------
| |
| SYSTEM HALTING during LVM Configuration |
| |
Non-lvm root on LVM disk
| |
-----------------------------------------------------


System Panic:

linkstamp: Sat Feb 20 14:38:37 IST 2010
_release_version: @(#) $Revision: vmunix: B11.23_LR FLAVOR=perf Fri Mar 19 15:24:05 PST 2004 $
panic: LVM: Configuration failure

PC-Offset Stack Trace (read down, top of stack is 1st):
0x0087e230 (panic+0xc0)
0x006ea074 (lv_boothalt+0x7c)
0x006e9b9c (lv_check_boot+0xfc)
0x006e9f40 (lvmconf+0x1f0)
0x006edfe8 (im_lvmconf+0x28)
0x009021b0 (DoCalllist+0x100)
0x006efd78 (main+0x28)
0x0012c9f4 ($vstart+0x48)
0x00235ae0 (istackatbase+0x88)
End Of Stack

I Gone through the LVM maintainance mode

ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 136 10/0/0/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
disk 137 10/0/0/1/0.2.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
disk 140 10/0/0/1/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5170A
disk 138 10/0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC
disk 139 10/0/1/1/0.2.0 sdisk CLAIMED DEVICE HP 146 GMAX3147NC

vgcfgrestore -n /dev/vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdsk/c0t0d0 (Bootable)
/dev/rdsk/c2t0d0 (Bootable)

# lvlnboot -v

lvlnboot: Volume group not activated.
Cannot display volume group "/dev/vg00".

# mount
/ on /dev/root ioerror=nodisable,log,dev=1f100001 on Fri Mar 11 03:39:43 2011

# pvdisplay /dev/dsk/c0t0d0
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t0d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg00".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t0d0".

# vgdisplay
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg00".
# vgchange -q n -a y vg00
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c0t0d0":
The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: The path of the physical volume refers to a device that does not
exist, or is not configured into the kernel.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c0t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "vg00":
Quorum not present, or some physical volume(s) are missing.

Any Help how to boot the system
5 REPLIES 5
Shibin_2
Honored Contributor

Re: PA-RISC 11.3 : Non-lvm root on LVM disk

Your ioscan is not showing the device special files. Have you installed the drivers?

There is a similar thread available, but it is not for PA RISC. Hope that may help.

http://h30499.www3.hp.com/t5/LVM-and-VxVM/root-device-is-non-lvm-partition-disallowed-on-LVM-disk/m-p/5105124#M45751


Btw, is it HP-UX 11.31 or 11.23? From the logs, I can see it is 11.23.

Regards
Shibin
suvy12
Frequent Advisor

Re: PA-RISC 11.3 : Non-lvm root on LVM disk

Hi Shibin,

That server was in maintainance mode when i taken the ioscan output and in maintainance mode ioscan does not show device files . Also i am very much sure i have installed the 11.31 in the server .
i am pasting the lvlnboot output which i have taken before the problem faced

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk5 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk5
Root: lvol3 on: /dev/disk/disk5
Swap: lvol2 on: /dev/disk/disk5
Dump: lvol2 on: /dev/disk/disk5, 0.

Meanwhile i have logged a Case with HP and they fail to boot the system and they ask to restore the system with ignite.
Let's see if anyone Can help me with this issue
Torsten.
Acclaimed Contributor

Re: PA-RISC 11.3 : Non-lvm root on LVM disk

>> and in maintainance mode ioscan does not show device files


I disagree. Try "insf -C".

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

Re: PA-RISC 11.3 : Non-lvm root on LVM disk

> panic: LVM: Configuration failure

Did anything happen before the panic? Like any accidental removal of the LVM devices or disk devices?

Other than human error something must have corrupted the LVM information on the disk header.

Your vgcfgrestore came back with the c0t0d0 and c2t0d0 for the boot devices but your old lvlnboot listing shows disk5. And as pointed out above the disk5 is not in the special files list of your ioscan.
Is there something you are not telling us?
suvy12
Frequent Advisor

Re: PA-RISC 11.3 : Non-lvm root on LVM disk

So Now According to HP there was problem with SCSI card that causes rebooting the Server and that continous rebooting of the server triggers the corruption of the VG.
We have replaced the SCSI card and for safe side we also changed the Disk and restore through IGNITE . Now Server is fine.