Operating System - HP-UX
1847178 Members
5509 Online
110263 Solutions
New Discussion

Re: Missing /dev/vg00/lvol1

 
H S Z
Regular Advisor

Missing /dev/vg00/lvol1

Hi

I have L2000 with HP-UX 11.0
Autoboot is ON.
When it wants to boot, then it gives the following error; Exec failed: Cannot find /stand/vmunix or vmunix then it goes to ISL prompt. I've tried to boot into single user mode using hpux -is, the same error.
Now I've tried hpux -lm and then init 3 and it's up. We can access the server normally.
Now, bdf is not showing /dev/vg00/lvol1, and /stand is not mounted also.
I did also vgdisplay -v, the output does not show /dev/vg00/lvol1.

Please advice. I have oracle on it and am afraid we will end up by reinstalling the OS.

1 thing also, when i do "find / -name vmunix", it does not find it. the same to system also.


PLease your responses are most welcome.
14 REPLIES 14
Devender Khatana
Honored Contributor

Re: Missing /dev/vg00/lvol1

Hi,


Was there any problems prior to reboot ? Any errors reported in syslog & dmesg. It seems LVM header corruption or could be a media problem on the disk. Is root disk mirrored ? Try a few steps to diagnose this & post the outputs.

#ll /dev/vg00/*vol1

#vgdisplay -v /dev/vg00

#mount /dev/vg00/lvol1 /stand

#fsck /dev/vg00/lvol1

# lifls â l /dev/rdsk/c#t#d# (Root disk device file)

#lvlnboot â v

HTH,
Devender
Impossible itself mentions "I m possible"
melvyn burnard
Honored Contributor

Re: Missing /dev/vg00/lvol1

"Now I've tried hpux -lm and then init 3 and it's up. We can access the server normally.
Now, bdf is not showing /dev/vg00/lvol1, and /stand is not mounted also.
I did also vgdisplay -v, the output does not show /dev/vg00/lvol1."

This is because you have booted into LVM Maintenance mode, and then gon to run state 3, which is NOT a good idea.

I would suggest you boot the system into recovery mode using your Install/Recovery OS CD, and then examine why there appears to be no vmunix file.
You could also try interrupting the autoboot and boot to single user mode, but try using /stand/vmunix.prev

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
D Block 2
Respected Contributor

Re: Missing /dev/vg00/lvol1

Horace,

I too decided to test your steps out.. just for a learning step..

ISL>

hpux -lm


ok,
I too, did the: hpux -lm

root@a:/# who -r
. run-level S Jul 9 22:51 S 1 3
root@a:/#
root@a:/# mount
/ on /dev/vg00/lvol3 log on Sat Jul 9 22:40:13 2005
/var on /dev/vg00/lvol8 delaylog on Sat Jul 9 22:40:24 2005
/usr on /dev/vg00/lvol7 delaylog on Sat Jul 9 22:40:24 2005
root@a:/#
root@a:/#
root@a:/#
root@a:/# grep lvol /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
#mount -F vxfs /dev/vg01/sglvol1 /sgdata1
#mount -F vxfs /dev/vg02/sglvol1 /sgdata2
root@a:/# who -r
. run-level S Jul 9 22:51 S 1 3
root@a:/# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 95920 108064 47% /
/dev/vg00/lvol8 4706304 162800 4508416 3% /var
/dev/vg00/lvol7 1249280 930296 316504 75% /usr
root@a:/#

Golf is a Good Walk Spoiled, Mark Twain.
Deepak.R
Frequent Advisor

Re: Missing /dev/vg00/lvol1

Hi,

try this as well.


Now, since the system is already booted, try using kmpath -k and see whether it shows the running kernel path.

also,

while the system reboots, interrupt boot and go to ISL prompt,

ISL > hpux ll

This should show the contents of /stand filesystem.

Do you have a root mirror disk ??
Pls check if there is any "stale" extends being displayed in lvdiaplay of different lvs
Devender Khatana
Honored Contributor

Re: Missing /dev/vg00/lvol1

Hi,

Deepak,

--->Now, since the system is already booted, try using kmpath -k and see whether it shows the running kernel path.



I think there is no kmpath command in this version of HPux. Are you relating something else here ?

Just a update.

HTH,
Devender
Impossible itself mentions "I m possible"
H S Z
Regular Advisor

Re: Missing /dev/vg00/lvol1

thanks all for ur replies. I really appreciate that.
Unfornately, the disk is not mirrored.
But i will still try ur options and get back to u asap.

BR
H S Z
Regular Advisor

Re: Missing /dev/vg00/lvol1

guys,

Please is there a way i can reinstall the HP-UX 11.0 again using my install/update/recovery CD without formatting? I mean if i can recover, and at the end, i can still access the oracle database sitting on it.

pLease advice asap.

Thanks
Devender Khatana
Honored Contributor

Re: Missing /dev/vg00/lvol1

Hi,

If your system does have multiple disks then all other disks except on which you load OS will retain there data & can be imported back. But for that also these should not be included in the same VG whcih was lying on your old root disk.

But there is no option where you can reload freshly without formatting the root disk.

So if you have oracle & oracle data on other disks this can be brought back online with some minor changes to OS like adding users & setting permissions & all.

HTH,
Devender
Impossible itself mentions "I m possible"
DCE
Honored Contributor

Re: Missing /dev/vg00/lvol1

Perhaps the LIF on your boot disk has gotten corrupted.

The following command should show you what is in the AUTO file in the LIF

lifcp dev/rdsk/c1t15d0:AUTO â
H S Z
Regular Advisor

Re: Missing /dev/vg00/lvol1

there is only one single hard drive. and all the oracle data is on that disk.

Please confirm if i can go ahead with reinstallation.


Horace
Devender Khatana
Honored Contributor

Re: Missing /dev/vg00/lvol1

Hi,

Reinstallation will remove all the data from the disk & you will require to reload oracle & restore backup.

HTH,
Devender
Impossible itself mentions "I m possible"
Deepak.R
Frequent Advisor

Re: Missing /dev/vg00/lvol1

Hi,

You can try booting through the install/recovery CD and select the option to mount root and stand filesystems on /ROOT and /ROOT/stand respectively. Once this is done , do an umount of /ROOT/stand and /ROOT then fsck the disk ( /dev/dsk/CxTxDxs1lvm and /dev/dsk/CxTxDxs2lvm ) where /dev/dsk/CxTxDx is your boot disk . once fsck is through ,mount /ROOT and /ROOT/stand filesystems and check for the files .

Reboot the system in normal mode and see if this solve sthe issue.

thanks
H S Z
Regular Advisor

Re: Missing /dev/vg00/lvol1

I've reinstalled the system.

Thanks a lot guys and hope to hear from all again.


Horace
H S Z
Regular Advisor

Re: Missing /dev/vg00/lvol1

Iam more than OK with the forum.

Cheers!!!