Operating System - HP-UX
1833777 Members
2160 Online
110063 Solutions
New Discussion

Updating ODE on mirrored boot disk

 
SOLVED
Go to solution
Ed Hon
Regular Advisor

Updating ODE on mirrored boot disk

After updating the Offline Diagnostics in the LIF area of the primary boot disk, what is the correct mkboot -b command for updating the boot mirror's LIF area (64-bit HP-UX)?
2 REPLIES 2
Ashwani Kashyap
Honored Contributor
Solution

Re: Updating ODE on mirrored boot disk

#mkboot -b /usr/sbin/diag/lif/updatediaglif2 -p ISL -p AUTO -p HPUX -p PAD -p LABEL /dev/rdsk/cxtydz

where cxtydz is the device file of your mirrored disk .

Check with lifls /dev/rdsk/cxtydz .
Steven E. Protter
Exalted Contributor

Re: Updating ODE on mirrored boot disk

My complete guide(too much but i'm not sure which part you need).

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

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