1834351 Members
2110 Online
110066 Solutions
New Discussion

Mirror on boot disk ??

 
kevin leong
Frequent Advisor

Mirror on boot disk ??

Dear all ,
Currently my HPUX 11i ver1 install from applicarion vendor .

During i configure mirror disk ,
lvlnboot -R having warning/error message
is lvol1 is not booting device .

I checking on bdf
/dev/vg00/lvol2 /stand
/dev/vg00/lvol3 /
/dev/vg00/lvol4 /opt

/dev/vg00/lovl1 /swap&dump

Any idea ?

Thanks
LeongKO
2 REPLIES 2
RAC_1
Honored Contributor

Re: Mirror on boot disk ??

It should always be as follows.
lvol1-/stand
lvol2-swap/dump (You can have seperate dump and also more than one swap device. This is primary swap and you have to have it)
lvol3-/

All need to contigeous.
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: Mirror on boot disk ??

Shalom LeongK,

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

# Slight variances for 11i v2(11.23).

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