Operating System - HP-UX
1757024 Members
1805 Online
108858 Solutions
New Discussion юеВ

created a mirror of primary boot dsk, but the alt won't boot

 
SOLVED
Go to solution
Tim Killinger
Regular Advisor

created a mirror of primary boot dsk, but the alt won't boot

after shutting down and "bo alt" I get "IPL error: bad IPL address."

to create mirror I did:
mkboot -l /dev/dsk/c2t1d0
mkboot -a "hpux -lq" /c2t1d0
lifcp /dev/dsk/c2t1d0:AUTO - says: hpux -lq
lvextend -m 1 (all 8 lvols)

to test I shutdown -ry 0 interrupted at boot menu and did "bo alt" with the above error:

Addtl info: rp3440, HPUX11.11

icgscnv1:/home/root # setboot
Primary bootpath : 0/1/1/0.0.0
Alternate bootpath : 0/1/1/0.1.0

Autoboot is ON (enabled)
Autosearch is ON (enabled)

icgscnv1:/home/root # lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
/dev/dsk/c2t1d0 (0/1/1/0.1.0) (I lvreduced mirror right now)
Boot: lvol1 on: /dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t0d0, 0
5 REPLIES 5
Bijeesh
Respected Contributor
Solution

Re: created a mirror of primary boot dsk, but the alt won't boot

Hi,

Compare your steps with the following.
#pvcreate -B -f /dev/rdsk/c2t1d0
#mkboot -l /dev/rdsk/c2t1d0
# lifls ├в l /dev/rdsk/c2t1d0 ...> To verify

#mkboot -a "hpux -lq" /dev/rdsk/c2t1d0
#lifcp /dev/rdsk/c2t1d0:AUTO - ...> To Verify

#vgextend /dev/vg00 /dev/dsk/c2t1d0
#lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0
(Do it for all LVs)
# lvlnboot -r /dev//lvol3
# lvlnboot -b /dev//lvol1
# lvlnboot -s /dev//lvol2
# lvlnboot -d /dev//lvol2
#lvlnboot -v
Veryfy the new disk entry.

#setboot ├в a

James R. Ferguson
Acclaimed Contributor

Re: created a mirror of primary boot dsk, but the alt won't boot

Hi Tim:

I would appear that you didn't 'pvcreate' the physical disk with the '-B' option. You will need to start over from scratch.

Regards!

...JRF...
Bijeesh
Respected Contributor

Re: created a mirror of primary boot dsk, but the alt won't boot

Hi,
The third command which I mentioned is
#lifls -l /dev/rdsk/c2t1d0

Also the last command is
#setboot -a

I think you forget to do the lvlnboot commands.
Rita C Workman
Honored Contributor

Re: created a mirror of primary boot dsk, but the alt won't boot

The steps you wrote don't look quite solid to me.
As JRF mentions where's your pvcreate..

For 11.11 here's mine:

pvcreate -B /dev/rdsk/c-t-d-
mkboot /dev/rdsk/c-t-d-
mkboot -a "hpux -lq" /dev/rdsk/c-t-d-
vgextend /dev/vg00 /dev/dsk/c-t-d-
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c-t-d-


lvlnboot -R
setboot -a /dev/dsk/c-t-d-

Rgrds,
Rita
Tim Killinger
Regular Advisor

Re: created a mirror of primary boot dsk, but the alt won't boot

ah!! I missed the -B right at the start! thanks!