cancel
Showing results for 
Search instead for 
Did you mean: 

create a mirrored disk

 
taouw
Frequent Advisor

create a mirrored disk

how ca i create a mirrored boot disk (hp-ux 11iv3)?
5 REPLIES
George_Dodds
Honored Contributor

Re: create a mirrored disk

Full process is in the following doc.

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

Cheers

George
sanjayhp
Advisor

Re: create a mirrored disk

Create mirror on second OS disk.


#vgdisplay â v vg00

--- Physical volumes ---
PV Name /dev/disk/disk2_p2
PV Status available
Total PE 4347
Free PE 1309
Autoswitch On
Proactive Polling On

Showes single disk

# ioscan -funNCdisk|more
Primary disk ( OS installed)

disk 2 64000/0xfa00/0x0 esdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/disk/disk2 /dev/disk/disk2_p2 /dev/rdisk/disk2 /dev/rdisk/disk2_p2
/dev/disk/disk2_p1 /dev/disk/disk2_p3 /dev/rdisk/disk2_p1 /dev/rdisk/disk2_p3

Mirror the below disk

disk 518 64000/0xfa00/0xa4 esdisk CLAIMED DEVICE HP 146 GMAX3147NC
/dev/disk/disk518 /dev/rdisk/disk518


----------------------------------------
vi /tmp/partitionfile

3
EFI 500MB
HPUX 100%
HPSP 400MB

#idisk -wf /tmp/partitionfile /dev/rdisk/disk518

#insf -e

#pvcreate -B /dev/rdisk/disk518_p2

#mkboot -e -l /dev/disk/disk518

#vgextend /dev/vg00 /dev/disk/disk518_p2

#lvextend -m 1 /dev/vg00/lvol /dev/disk/disk518_p2

#lvlnboot -r /dev/vg00/lvol3 /dev/vg00
#lvlnboot -b /dev/vg00/lvol1 /dev/vg00
#lvlnboot -s /dev/vg00/lvol2 /dev/vg00
#lvlnboot -d /dev/vg00/lvol9 /dev/vg00

#efi_cp -d /dev/rdisk/disk2_p1 -u /EFI/HPUX/AUTO /tmp/AUTO

#vi /tmp/AUTO
modify "boot vmunix" to "boot vmunix -lq"

then put back the file on both EFI partitions with:

# efi_cp -d /dev/rdisk/disk2_p1 /tmp/AUTO /EFI/HPUX/AUTO

# efi_cp -d /dev/rdisk/disk518_p1 /tmp/AUTO /EFI/HPUX/AUTO

# setboot â a / dev/rdisk/disk518 (set mirrored disk as alternate boot)

Reboot and add the new mirrored disk to the EFI-Bootmenu.

Test booting from each drive.
avizen9
Esteemed Contributor

Re: create a mirrored disk

Hello,
there are many good .pdf and online help for this topic,

i had attached here one doc file which having very simple steps to perform this task, you may refer it, it is helpfull for me i got this from one of thread here, thanks,
avizen9
Esteemed Contributor

Re: create a mirrored disk

opss missed to attach it, here is attachment,...
subodhbagade
Regular Advisor

Re: create a mirrored disk