Operating System - HP-UX
1751826 Members
5165 Online
108782 Solutions
New Discussion юеВ

11iv2 root vg mirroring steps.

 
Rahul Rai_1
Frequent Advisor

11iv2 root vg mirroring steps.

Hello Experts,

In one of our hp-ux 11iv2 host having some trouble, as there is problem in rootvg, we noticed one emc gate keeper got added accidently in lvmtab, the main thing is second hp disk (/dev/dsk/c2t1d0) should be mirrored with /dev/dsk/c2t0d0, rest vgs are working fine, is ther I need to install mirrorux.?

Please give me the step by step process and sugest me if reboot is also required,

# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t0d0
/dev/dsk/c4t0d0

# diskinfo /dev/rdsk/c4t0d0
SCSI describe of /dev/rdsk/c4t0d0:
vendor: EMC
product id: SYMMETRIX
type: direct access
size: 92160 Kbytes
bytes per sector: 512
# diskinfo /dev/rdsk/c2t0d0
SCSI describe of /dev/rdsk/c2t0d0:
vendor: HP 146 G
product id: MAT3147NC
type: direct access
size: 143374744 Kbytes
bytes per sector: 512

Regards,
Rahul Rai
3 REPLIES 3
user001
Frequent Advisor

Re: 11iv2 root vg mirroring steps.


how are they mirrored? hardware?

if they are mirrored using LVM's try running this.

lvdisplay -v /dev/vg00/lvol1

vg00 being the root vg group and lvol1 being the lv in question.

if mirror is more than 1 its mirrored.

also lvlnboot -v should give two disk that are capable of booting.

Play with those commmands i'm not in front of it at the moment but that might be a little off.

swlist -l product | grep mirror if you want to check if you have mirrorux

cheers.
Rahul Rai_1
Frequent Advisor

Re: 11iv2 root vg mirroring steps.

they are not mirrored

# lvlnboot -v
lvlnboot: Couldn't query physical volume "/dev/dsk/c4t0d0":
The specified path does not correspond to physical volume attached to

I have checked the output of lvdiplay for all the lv's

# lvdisplay -v /dev/vg00/lvol1
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c4t0d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg00/lvol1
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1792
Current LE 56
Allocated PE 56
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default

--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 56 56

--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00000 current
00001 /dev/dsk/c2t0d0 00001 current
00002 /dev/dsk/c2t0d0 00002 current
00003 /dev/dsk/c2t0d0 00003 current
......
Please sugest me the mirroring steps.

Regards,
Rahul Rai
user001
Frequent Advisor

Re: 11iv2 root vg mirroring steps.


this error message about the physical volumes doesn't look good.

i'd go over pvdisplay and vgdisplay command and start looking at how everything is put together.

what does bdf report?

did you check to see if you have mirrorux installed / licensed? you'll need HA or VSE to utilize mirrorux.

checkout this thread
http://h30499.www3.hp.com/t5/HP-UX-Technical-Documentation/HP-UX-LVM-basics/m-p/3193021#M159


it lists some help with LVM's.

let us know how you go / if you have more questions.

cheers.