Operating System - HP-UX
1753438 Members
4903 Online
108794 Solutions
New Discussion юеВ

HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

 
SOLVED
Go to solution
YAQUB_1
Respected Contributor

HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Hi All,

When I've execute the below command:
==> # mkboot -a "hpux -lq (0/0/0/3/0.6.0;0)/stand/vmunix" /dev/rdsk/c2t6d0

That time system showing below info:
==> -a specified but no current boot area on /dev/rdsk/c2t6d0

Could you please any one guide to me regarding this issue?

Rgds--Yaqub
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor
Solution

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Hi Yaqub:

Mirroring the boot disk on an Itanium server differs from the procedure for a PA-RISC one. See Appendix-A of:

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

Regards!

...JRF...
Hasan  Atasoy
Honored Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

hi yakup ;

this is the guide for mirroring . source disk is c3t2d0, change it with your disk address.

vi /tmp/partitionfile

3
EFI 500MB
HPUX 100%
HPSP 400MB

idisk -wf /tmp/partitionfile /dev/rdsk/cxtydz

insf -e






pvcreate -B /dev/rdsk/cxtydzs2

mkboot -e -l /dev/dsk/cxtydz

vgextend /dev/vg00 /dev/dsk/cxtydzs2

lvextend -m 1 /dev/vg00/lvol$i /dev/dsk/cxtydzs2






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/lvol2 /dev/vg00


efi_ls -d /dev/rdsk/c3t2d0s1

efi_cp -d /dev/rdsk/c3t2d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO

vi /tmp/AUTO

boot vmunix -lq

efi_cp -d /dev/rdsk/c3t2d0s1 /tmp/AUTO /EFI/HPUX/AUTO

efi_cp -d /dev/rdsk/cxtydzs1 /tmp/AUTO /EFI/HPUX/AUTO







YAQUB_1
Respected Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Hello Hasan,

Thanks for your reply.

Here is my system disk info:

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 1 0/0/0/2/0.6.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
disk 0 0/0/0/2/1.2.0 sdisk CLAIMED DEVICE Optiarc DVD RW AD-5170A
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 146 GST3146855LC
/dev/dsk/c2t6d0 /dev/rdsk/c2t6d0


Please know guide to me.

Rgds--Yaqub
Hasan  Atasoy
Honored Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

please paste vgdisplay -v vg00
YAQUB_1
Respected Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Here is vgdisplay -v vg00 O/P:

# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 10
Open LV 10
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4356
VGDA 2
PE Size (Mbytes) 32
Total PE 4346
Alloc PE 1588
Free PE 2758
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 64
Allocated PE 64
Used PV 1

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 32
Used PV 1

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 9568
Current LE 299
Allocated PE 299
Used PV 1

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 6432
Current LE 201
Allocated PE 201
Used PV 1

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 256
Used PV 1

LV Name /dev/vg00/lvol10
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 128
Allocated PE 128
Used PV 1

LV Name /dev/vg00/lvol11
LV Status available/syncd
LV Size (Mbytes) 5120
Current LE 160
Allocated PE 160
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c0t6d0s2
PV Status available
Total PE 4346
Free PE 2758
Autoswitch On
YAQUB_1
Respected Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Hello James & Hasan,

Could you please assist to me resolve this issue?

Rgds -- Yaqub
YAQUB_1
Respected Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Hello Friends,

Any body help me regarding this issue???

Rgds -- Yaqub
Hasan  Atasoy
Honored Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

create /tmp/partitionfile

partition file should contain

3
EFI 500MB
HPUX 100%
HPSP 400MB

idisk -wf /tmp/partitionfile /dev/rdsk/c2t6d0

insf -e






pvcreate -B /dev/rdsk/c2t6d0s2

mkboot -e -l /dev/dsk/c2t6d0

vgextend /dev/vg00 /dev/dsk/c2t6d0s2


lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t6d0s2
lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t6d0s2




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/lvol2 /dev/vg00


efi_ls -d /dev/rdsk/c0t6d0s1

efi_cp -d /dev/rdsk/c0t6d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO

vi /tmp/AUTO

boot vmunix -lq

efi_cp -d /dev/rdsk/c0t6d0s1 /tmp/AUTO /EFI/HPUX/AUTO

efi_cp -d /dev/rdsk/c2t6d0s1 /tmp/AUTO /EFI/HPUX/AUTO


Hasan
YAQUB_1
Respected Contributor

Re: HP9K/rx8640/HP-UX 11.23 EOE (boot disk mirror problem)

Thank you very much for your cooperation and support.

Happy New Year 2008.

Have a Nice Time