1830899 Members
2633 Online
110017 Solutions
New Discussion

Mirroring Error

 
Marvin L. Diaz
Advisor

Mirroring Error

Hi Guys,

After issuing the mirror on the system, i tried to bot on ng alternate path however and error was encountered booting.

Boot
: disk(0/0/2/0.2.0.0.0.0.0;0)
Exec failed: Exec format error

I have attached the docs i had faollowed.

cheers,
Marv's
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Mirroring Error

Shalom Marvin,

Good job testing your work.

I think your doc is incomplete.

pvcreate -B /dev/rdsk/c1t0d0 #use real disk

mkboot -l /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0 # use real disk


# mkboot -b /usr/sbin/diag/lif/updatediaglif -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?

If you are running 64-bit OS:

# mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/c?t?d?


vgextend /dev/vg00 /dev/dsk/c1t0d0 # same thing
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0

# real disk. repeat for other lvols

lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk

Thanks to all that made this doc right.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TY 007
Honored Contributor

Re: Mirroring Error

Hello Marvin,

Possible:
- Corrupt Boot String
- Corrupt Kernel

Try to boot to Previous Kernel

Thanks