Operating System - HP-UX
1847804 Members
2604 Online
104021 Solutions
New Discussion

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

 
D Block 2
Respected Contributor

MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

After setting up a mirror root disk, I tryed to boot of the ALT, and received the error below:

Boot
: disk(0/0/2/1.15.0.0.0.0.0;0)/stand/vmunix
disk(0/0/2/1.15.0.0.0.0.0;0)/stand/vmunix: cannot open, or not executable

Was thinking of removing the MIRROR to this disk, and rebuilding the mirror.. thinking something might have gone wrong. Using a system rp2470 with 144G (2) internal disks.

I don't think these large disks are a problem with mirror/ux.

any suggestions appreciated.

Golf is a Good Walk Spoiled, Mark Twain.
6 REPLIES 6
Ashwani Kashyap
Honored Contributor

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

how did you rebuild the mirror ?
RAC_1
Honored Contributor

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

did U do
mkboot -a "hpux -lq(;0)/stand/vmunix" /dev/rdsk/cxtxdx while U created mirror?
There is no substitute to HARDWORK
Sanjay_6
Honored Contributor

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

Hi,

You prabablky missed out a step or two while building up the mirror. Maybe revisiting the steps you performed while preparing the mirror may help you identify the problem.

Rebuilding the mirror is always a choice, but it is a good idea to atleast find out what went wrong in the 1st place.

Hope this helps.

Regds
Marvin Strong
Honored Contributor

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

sounds like you didn't build the mirror disk correctly

or you lvlnboot is not setup correctly

whats the lvlnboot output look like?

# lvlnboot -v

D Block 2
Respected Contributor

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

thanks, you are right. it appears that when I attempted to create the FIRST mirror for "lovl1", it really was the SECOND mirror.

here's a snippet and I realize the error now that it must be the first MIRROR LVOL, right?

lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c3t15d0
lvlnboot: Boot volume should be the first logical volume on the physical volume
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol1" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
+ lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c3t15d0
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol2" could not be extended.
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy
+ lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c3t15d0
lvlnboot: Boot volume should be the first logical volume on the physical volume
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.con
f
+ lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c3t15d0
lvlnboot: Boot volume should be the first logical volume on the physical volume
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....

I'm doing an LVREDUCE -m 0 on all the mirror'ed logical volumes. will get back to you on this status.
Golf is a Good Walk Spoiled, Mark Twain.
D Block 2
Respected Contributor

Re: MIRROR'ed boot disk - /stand/vmunix: cannot open, or not executable

guys, thanks for your responses.
finally got the result here.

HARD Booted.

ISL Revision A.00.43 Apr 12, 2000

ISL booting hpux -lq (;0)/stand/vmunix

Boot
: disk(0/0/2/1.15.0.0.0.0.0;0)/stand/vmunix
10407936 + 1880064 + 1650600 start 0x1f5ee8


Golf is a Good Walk Spoiled, Mark Twain.