HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Boot disk of Mirror/UX for HPUX 9000

 
Víctor López Chávez
Occasional Contributor

Boot disk of Mirror/UX for HPUX 9000

# lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t2d0
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
Logical volume "/dev/vg00/lvol2" has been successfully extended.
lvlnboot: LIF information corrupt or not present on "/dev/dsk/c2t2d0".
Use the "mkboot" command to initialize the LIF area.
Warning: Valid Boot Data Area Found.
If this Physical Volume "/dev/rdsk/c2t2d0" is to become a Boot Device with
the use of /usr/sbin/mkboot, this newly created LABEL file will be overwritten.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

You know the command exactly that correct this error. Any way my boot disk Mirror/UX is not start.
3 REPLIES 3
Jeff Schussele
Honored Contributor

Re: Boot disk of Mirror/UX for HPUX 9000

Hi Victor,

Several things could be wrong here. Here's the "normal" way to create a boot/root mirror:

pvcreate -B /dev/rdsk/cXtYdZ #may need a -f as well if it's ever been used
mkboot -l /dev/rdsk/cXtYdZ
mkboot -a "hpux -lq" /dev/rdsk/cXtYdZ # repeat on the primary disk as well
vgextend vg00 /dev/dsk/cXtYdZ
for i in 1 2 3 4 5 6 7 8 #do for all LVs in vg00 - use vgdisplay -v vg00 to determine all LVs
> do
> lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/cXtYdZ
> done

Then check with lvlnboot -v to verify.
Also remember to use setboot -a to set the alt boot drive. You should also use the updatediaglif2 command to load the off-line diags into the LIF area on this drive & the primary as well.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
B. Hulst
Trusted Contributor

Re: Boot disk of Mirror/UX for HPUX 9000

Hi,

You first create on the mirror disk a label to tell it is a boot disk. Then you mirror the partitions and update the system to have it bootable.

If you forget to tell the system to make it a bootdisk the mirror disk's partitions will be offset compared to the location of the root disk.

disk mirror
bootarea part0
part0 part1
part1 part2
part2

lvlnboot is very usefull to check the boot disks used.

- Bob

Ps. lvlnboot -R has solved (recovered) many boot problems in the past.

Re: Boot disk of Mirror/UX for HPUX 9000

The second answer you got was perfect. You should also use setboot to ensure that autosearch is on as well.

The autoboot, autosearch and hpux -lq will ensure that the system will boot operator independent in the event of a root drive loss.