1844609 Members
2206 Online
110233 Solutions
New Discussion

Re: Unable to (re)boot

 
Peter Kovacs 1.0rc
Frequent Advisor

Unable to (re)boot

Hi

A couple of days ago, having thought that the system was on the first disk, I installed a pv and a few raw logical volumes on the second disk of an rx2620. Now the system appears to be unable to boot.

I now assume that I am now unable to boot because the second disk had not been empty (it had the system on it) and pvcreate destroyed the system. Should not pvcreate warn me to think twice?

BTW, are there viruses on HP-UX?

Thanks
Peter


PS:
In a bit more detail:

After having created the pv with the raw lvols and having Oracle to use the raw lvols, "strange things happend", the volume group hosting the system disappeared from some listings and in other listings it started to look as though everything had been on the second disk. Then I tried to reboot and now I am stuck with EFI.

I happened to copy-paste the commands I used for creating the pv into one of my earlier postings (no answers there :-( ). I did it (using the root's shell's history) before I rebooted. At the time I wrote that earlier posting, I cared only for the argument specifying the device, but now I double checked and see that the ominous -f option was not specified:

/sbin/pvcreate /dev/rdsk/c2t1d0
/sbin/vgcreate /dev/vg_oraraw /dev/dsk/c2t1d0

Now everything seems to indicate that the second disk (/dev/rdsk/c2t1d0) was not empty -- and, more importantly, the system was hosted there. Should I not have been warned by pvcreate???
5 REPLIES 5
UI HP Sysadmins
Advisor

Re: Unable to (re)boot

Have you been able to boot into single user mode?

If you cat do a /bin/cat /etc/lvmtab

It should show you will a lot of garbage what VG are on what PV.

Example:
è/dev/vg00à >@¥Pæ/dev/dsk/c2t1d0s2

/dev/vg00 is on /dev/dsk/c2t1d0s2

Yes, pvcreate will warn you if a filesystem already exists on a disk.
Peter Kovacs 1.0rc
Frequent Advisor

Re: Unable to (re)boot

I do not think I can boot HP-UX at all -- either in single or multi user mode.

The only "promising" item in the Boot menu is:

HP-UX Primary Boot: 0/1/1/0.1.0

When selecting it, I get:

Loading.: HP-UX Primary Boot: 0/1/1/0.1.0
Load of HP-UX Primary Boot: 0/1/1/0.1.0 failed: Not Found

I can open the EFI shell, have the device mapping table listed there, but not sure what else...

Thanks
Peter
UI HP Sysadmins
Advisor

Re: Unable to (re)boot

I think the EFI on IA64 is simular to the ISL on PA-RISC. I only have 2 IA64 boxes and have not had many problem with them so I do not know much about the EFI. that being said here is what I would try.

At the EFI Prompt:

hpux -is

That should boot single user mode.
If that fails, you might try this (but I do not think it will help):

hpux -lvm

This should put you in LVM maintance mode. I have only used this a few time outside a lab environment.

I think you best choice will be booting from "Install media" and getting a rescue shell. Then looking to see going on.

Peter Kovacs 1.0rc
Frequent Advisor

Re: Unable to (re)boot

No luck. I get:

'hpux' not found
Exit status code: Invalid Parameter

for both commands.

Thanks anyway!

I guess I am in for a reinstall.

Peter
UI HP Sysadmins
Advisor

Re: Unable to (re)boot

Yes, I think you are right a reinstall might be your best choice at this time. EFI is not something I know a lot about yet. Good Luck.