System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

hp ux 11iv1 mirroring disk on rp 4440

bitou
Frequent Advisor

hp ux 11iv1 mirroring disk on rp 4440

hi, i need yr help to solve my issue.
when i try to mirror the disk, the server doesn't boot from the primary path but it boot from the second disk>
my steps:

Mirror Root disk procedure



# pvcreate -Bf /dev/rdsk/c3t15d0
# vgextend /dev/vg00 /dev/dsk/c3t15d0
# mkboot /dev/rdsk/c3t15d0
# mkboot -a "hpux -lq (0/0/2/1.15.0;0)/stand/vmunix" /dev/rdsk/c3t15d0 (0/2/1.15 from ioscan –fnkC disk)
# lvlnboot –v
# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL /dev/dsk/c3t15d0
> done
# lvlnboot –v
# setboot –a 0/0/2/1.15.0
# setboot –s on

i have done this procedure in 3 servers and i have received the same error, any help please
20 REPLIES
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

I would do some things different:

3) # mkboot -l /dev/rdsk/c3t15d0
4) # mkboot -a "hpux -lq" /dev/rdsk/c3t15d0



This is an external disk, but where is the primary?



What is the exact message when booting from the primary? Where it stops?

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

thanks for yr reply.
but the 2 disks are internal disk.
and the mirror is done locally.
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

You say you took this from ioscan:

0/2/1.15.0

This points to a disk connected to a HBA in slot 7, SCSI ID of 15.



Internal disks start with 0/1/1/... and have SCSI ID of 0 or 1.



Please post an "ioscan -fn".

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

the 2 disks have the following path:
0/1/0/0.0.0
and 0/1/0/0.1.0
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

but then your procedure is wrong ...

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

no i have change the path but my procedure is an example i am interested to know if there is a wrong command
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

nobody knows what you really did ...

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

this is my procedure
# pvcreate -Bf /dev/rdsk/c3t12d0
# vgextend /dev/vg00 /dev/dsk/c3t12d0
# mkboot /dev/rdsk/c3t15d0
# mkboot -a "hpux -lq (0/0/1/0.1.1;0)/stand/vmunix" /dev/rdsk/c3t15d0 (0/0/1/0.1.1;0 from ioscan â fnkC disk)
# lvlnboot â v
# for LVOL in /dev/vg00/lv*
> do
> echo $LVOL
> lvextend -m 1 $LVOL /dev/dsk/c3t12d0
> done
# lvlnboot â v
# setboot â a 0/0/1/0.1.1
# setboot â s on
tell me plz if there is anything wrong!!!!
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

wrong device files used?

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

why?
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

read your last post again!




please post

ioscan -fn

strings /etc/lvmtab

vgdisplay -v vg00

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

# ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adap
ter (880)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
usb 0 0/0/1/0 hcd CLAIMED INTERFACE NEC USB Interfa
ce
usbhub 0 0/0/1/0.1 hub CLAIMED DEVICE USB Root Hub
usb 1 0/0/1/1 hcd CLAIMED INTERFACE NEC USB Interfa
ce
usbhub 1 0/0/1/1.1 hub CLAIMED DEVICE USB Root Hub
/dev/hub
usb 2 0/0/1/2 ehci CLAIMED INTERFACE NEC USB Interfa
ce
sideba 0 0/0/2/0 side_ba CLAIMED INTERFACE CMD IDE control
ler
ext_bus 0 0/0/2/0.0 side CLAIMED INTERFACE IDE
target 0 0/0/2/0.0.0 tgt CLAIMED DEVICE
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-
B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 1 0/0/2/0.0.7 tgt CLAIMED DEVICE
ctl 0 0/0/2/0.0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/2/0.1 side CLAIMED INTERFACE IDE
target 2 0/0/2/0.1.7 tgt CLAIMED DEVICE
ctl 1 0/0/2/0.1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ext_bus 2 0/1/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultr
a160 Wide LVD
target 3 0/1/1/0.0 tgt CLAIMED DEVICE
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367
NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 4 0/1/1/0.7 tgt CLAIMED DEVICE
ctl 2 0/1/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
ext_bus 3 0/1/1/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultr
a160 Wide LVD
target 5 0/1/1/1.2 tgt CLAIMED DEVICE
disk 2 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GMAX3073
NC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
target 6 0/1/1/1.7 tgt CLAIMED DEVICE
ctl 3 0/1/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c3t7d0
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base
-T Core
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 5 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
ba 6 0/7 lba CLAIMED BUS_NEXUS Local PCI-X Bus
Adapter (783)
tty 0 0/7/1/0 asio0 CLAIMED INTERFACE PCI SimpleComm
(103c1290)
/dev/diag/mux0 /dev/mux0 /dev/tty0p0
tty 1 0/7/1/1 asio0 CLAIMED INTERFACE PCI Serial (103
c1048)
/dev/GSPdiag1 /dev/mux1 /dev/tty1p2
/dev/diag/mux1 /dev/tty1p0 /dev/tty1p4
unknown -1 0/7/2/0 UNCLAIMED UNKNOWN PCI Display (10
025159)
memory 0 8 memory CLAIMED MEMORY Memory
ipmi 0 16 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
processor 0 128 processor CLAIMED PROCESSOR Processor
processor 1 129 processor CLAIMED PROCESSOR Processor
#

-------------------------------------------
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c3t2d0
-------------------------------------------
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c3t2d0
#
# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4350
VGDA 4
PE Size (Mbytes) 8
Total PE 8690
Alloc PE 3855
Free PE 4835
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) 304
Current LE 38
Allocated PE 76
Used PV 2

LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 50
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 50
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 24
Current LE 3
Allocated PE 6
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 3128
Current LE 391
Allocated PE 782
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 1256
Current LE 157
Allocated PE 314
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/syncd
LV Size (Mbytes) 4600
Current LE 575
Allocated PE 1150
Used PV 2

LV Name /dev/vg00/test
LV Status available/syncd
LV Size (Mbytes) 2000
Current LE 250
Allocated PE 250
Used PV 1

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

LV Name /dev/vg00/apps
LV Status available/syncd
LV Size (Mbytes) 200
Current LE 25
Allocated PE 25
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4340
Free PE 2211
Autoswitch On

PV Name /dev/dsk/c3t2d0
PV Status available
Total PE 4350
Free PE 2624
Autoswitch On


#
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

and also please

lifls -l /dev/rdsk/c2t0d0 and c3t2d0

setboot

lvlnboot -v

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

lifls -l /dev/rdsk/c2t0d0
# lifls -l /dev/rdsk/c2t0d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
HPUX -12928 584 848 0 02/05/10 16:25:44
ISL -12800 1432 306 0 00/11/08 20:49:59
AUTO -12289 1744 1 0 00/11/08 20:49:59
PAD -12290 1752 1580 0 00/11/08 20:50:00
LABEL BIN 3336 8 0 11/03/07 13:32:48
#
# lifls -l /dev/rdsk/c3t2d0
volume ISL10 data size 7984 directory size 8 02/05/10 16:25:44
filename type start size implement created
===============================================================
ISL -12800 584 306 0 02/05/10 16:25:44
AUTO -12289 896 1 0 02/05/10 16:25:44
HPUX -12928 904 848 0 02/05/10 16:25:44
PAD -12290 1752 1580 0 02/05/10 16:25:45
LABEL BIN 3336 8 0 11/03/23 19:48:05

Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

lvlnboot -v

and

setboot

too, please.

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!   
Patrick Wallek
Honored Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

and also:

lifcp /dev/rdsk/c2t0d0:AUTO -
lifcp /dev/rdsk/c3t2d0:AUTO -

(Note that there is a space between the O in AUTO and the -)
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

#
#
# lifcp /dev/rdsk/c2t0d0:AUTO -
hpux
# lifcp /dev/rdsk/c2t2d0:AUTO -
lifcp: can not open the LIF volume /dev/rdsk/c2t2d0; io error
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

it is sooo easy to use a wrong device file ...

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!   
bitou
Frequent Advisor

Re: hp ux 11iv1 mirroring disk on rp 4440

sorry!!!!!!
# lifcp /dev/rdsk/c3t2d0:AUTO -
hpux -lq (0/1/1/1.2.0;0)/stand/vmunix
Torsten.
Acclaimed Contributor

Re: hp ux 11iv1 mirroring disk on rp 4440

# lifcp /dev/rdsk/c3t2d0:AUTO -
hpux -lq (0/1/1/1.2.0;0)/stand/vmunix


This should be "hpux -lq" only (see my first post).

Still waiting for

# lvlnboot -v
# setboot



Now you have problems to boot from

disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367
NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0


right?

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!