Operating System - HP-UX
1752794 Members
5911 Online
108789 Solutions
New Discussion юеВ

Re: Mirroring itanium boot drive

 
SOLVED
Go to solution
Timothy P. Jackson
Valued Contributor

Mirroring itanium boot drive

I have a new itanium and have installed HP-UX 11i Version 3. I am looking for instructions on how to mirror the boot drive. Obviously it is different then HP-UX 11i Version 1

Any help would be greatly appreciated!!

Tim
26 REPLIES 26
James R. Ferguson
Acclaimed Contributor

Re: Mirroring itanium boot drive

Hi Tim:

You very well may have a Smart Array controller and hence a hardware RAID mirror.

You might want to see what is returned by:

# ioscan -kfnC disk

# sasmgr get_info -D /dev/sasd0 -q raid

An invaluable document, otherwise is this (which also discusses the differences between mirroring vg00 on PA-RISC and Itanium:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

Regards!

...JRF...


Michael Steele_2
Honored Contributor

Re: Mirroring itanium boot drive

"(* EFI *)
diskinfo c2t0d0s1,2,3 "
"vi /tmp/partitionfile
11.23
2
EFI 100 MB
HPUX 100%

> 11.23
3
EFI 500 MB
HPUX 100% -or- xxxxmb
HPSP 400mb"
idisk -wf /tmp/partitionfile disk
idisk -p disk
insf -e
pvcreate -B disk,s2
mkboot -e -l disk
vgextend vg00 disk,s2
lvextend -m 1 lvol1 disk,s2 (* and all other lvols *)
lvlnboot -r -b -s -s (* lvol3,1,2,2 *)
efi_ls -d rdsk/disk,s1
"efi_cp -d rdsk/primary_disk,s1 -u /EFI/HPUX/AUTO /tmp/AUTO
(* copy AUTO file from pri to /tmp/AUTO *)"
"efi_cp -d rdsk/alterna_disk,s1 -u /EFI/HPUX/AUTO /tmp/AUTO
(* copy AUTO file from pri to /tmp/AUTO *)"
reboot


Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: Mirroring itanium boot drive

page 26
Support Fatherhood - Stop Family Law
Torsten.
Acclaimed Contributor

Re: Mirroring itanium boot drive

If the system supports this, do yourself a favour and create a hardware RAID - this is possible with most current servers. Please tell what model you have.

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!   
Raj D.
Honored Contributor
Solution

Re: Mirroring itanium boot drive

Timothy,

I use a small script and it helps to mirror the root disk quickly,
You can try this small program, (mirror.v3_hp-ux_11.31 ) , cereful while specifying the source and target,


Inside you have to change Target (the new disk to be mirrored), and Source (The existing boot disk).

#---------------------
TARGET_DSK="diskXX"
SOURCE_DSK="diskYY"
#---------------------


Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Torsten.
Acclaimed Contributor

Re: Mirroring itanium boot drive

Just to add this - it could be really painful to replace a SAS disk in a LVM mirror - avoid this if possible!

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!   
James R. Ferguson
Acclaimed Contributor

Re: Mirroring itanium boot drive

Hi (again):

Posting a PDF file that was stored off 3-years ago when a current version is freely available on the HP web makes little sense to me.

...JRF...
Torsten.
Acclaimed Contributor

Re: Mirroring itanium boot drive

I did not read all the attachments here, but I know the procedures for mirroring in 11.23 and 11.31 are slightly different.

http://docs.hp.com/en/5992-6576/ch03s04.html#cbddaicd



Tim, what server model do you have?

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!   
Timothy P. Jackson
Valued Contributor

Re: Mirroring itanium boot drive

The "model" command returns the following

ia64 hp server rx3600