Operating System - HP-UX
1833875 Members
2123 Online
110063 Solutions
New Discussion

Re: Mirror HP-UX root disk on Itanium rx4640 server.

 
Juan Gonzalez_2
Frequent Advisor

Mirror HP-UX root disk on Itanium rx4640 server.

I covered the root disk from VxVM to LVM with an Ignite tape successfully. I can boot from the primary but not from the alternate disk I mirrored. Since I already had the devices /dev/rdsk/c2t2d0s1 and
/dev/rdsk/c2t2d0s2 I did did not create a partition file and run the idisk -wf and the insf -e -C commands to create the devices.

What I did was mkboot -e -l /dev/rdsk/c2t1d0
Then I checked by doing efi_ls -d /dev/rdsk/c2t2d0s1 and lifls -l /dev/rdsk/c2t1d0s2 and they check out okay.
The out put of efi_ls -d /dev/rdsk/c2t2d0s1 is FileName Last Modified Size
EFI/ 2/ 5/2007 0
STARTUP.NSH 2/ 5/2007 296

total space 523251712 bytes, free space 519962624 bytes
and the ouput of lifls -l /dev/rdsk/c2t1d0s2 is:
volume ISL10 data size 7984 directory size 8 05/12/01 06:47:06
filename type start size implement created
===============================================================
ISL -12800 584 242 0 05/09/22 09:37:09
AUTO -12289 832 1 0 05/09/22 09:37:09
HPUX -12928 840 1024 0 05/09/22 09:37:09
PAD -12290 1864 1468 0 05/09/22 09:37:09
LABEL BIN 3336 8 0 07/02/05 09:37:31

Then I did mkboot -a "boot vmunix" /dev/dsk/c2t1d0.
Then I checked with the command efi_cp -d /dev/dsk/c3t0d0s1 -u /EFI/HPUX/AUTO /tmp/x; cat /tmp/x.

The ouput was boot vmunix

Then ran pvcreate -B /dev/rdsk/c2t1d0s2 and vgextend vg00 /dev/dsk/c2t1d0s2 commands successfully.

Then I ran the lvextend -m 1 command for all the logical volumes in the root drive successfully.
Then I ran commands
lvlnboot -r /dev/vg00/lvol3
lvlnboot -b /dev/vg00/lvol1
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2

Then i checked by doing lvlnboot -v got this output below.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t0d0s2 (0/1/1/1.0.0) -- Boot Disk
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t0d0s2
/dev/dsk/c2t1d0s2
Root: lvol3 on: /dev/dsk/c3t0d0s2
/dev/dsk/c2t1d0s2
Swap: lvol2 on: /dev/dsk/c3t0d0s2
/dev/dsk/c2t1d0s2
Dump: lvol2 on: /dev/dsk/c3t0d0s2, 0

I did setboot before doing the next step which is setboot -a and output was

Primary bootpath : 0/1/1/1.0.0
HA Alternate bootpath : 0/1/1/0.1.0
Alternate bootpath :

Autoboot is ON (enabled)

so i did not do the setboot -a.

Then I rebooted the server and got the error message below when I tried to boot off of the new mirrored drive.
Scsi (Pun1,Lun0) HP 146 GMAT3 147NC HPC2 (320 MBytes/sec)
Loading.: HP-UX HA Alternate Boot: 0/1/1/0.1.0
Load of HP-UX HA Alternate Boot: 0/1/1/0.1.0 failed: Not Found
Press any key to continue

What did I go wrong? What do I need to do to be able to boot off of the mirroredc drive?



5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Mirror HP-UX root disk on Itanium rx4640 server.

Hi,

when EFI boots, you should see 2 entries, not only one.

(1) Scsi (Pun1,Lun0) HP 146 GMAT3 147NC HPC2 (320 MBytes/sec)


(2) Scsi(Pun0,Lun0) ...

And: if the alternate path is not set, you cannot boot from it.

Do you have external devices connected to the core I/O card?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Juan Gonzalez_2
Frequent Advisor

Re: Mirror HP-UX root disk on Itanium rx4640 server.

I do see two entries on the EFI boot menu and I choose the second entry to boot from which fails. I do not have an externel disk drives yet. I do have a SCSI tape drive which I also modified the EFI boot menu to add the Tape drive.
Torsten.
Acclaimed Contributor

Re: Mirror HP-UX root disk on Itanium rx4640 server.

You must not connect *any* device to the external core connectors!

If you see 2 disk entries, inspect and explore the disks from the EFI level, like

fs0> dir

and

fs1> dir

to find the hpux OS loader.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Juan Gonzalez_2
Frequent Advisor

Re: Mirror HP-UX root disk on Itanium rx4640 server.

Torsten I went into the EFI shell and checked the files in each of the disk and they have the same amount of files and size. Any other clues to look for?
Shardha
Valued Contributor

Re: Mirror HP-UX root disk on Itanium rx4640 server.

Dear,

Please following attached procedure step by step, this is a tested procedure.

Shardha