Operating System - HP-UX
1827295 Members
4127 Online
109717 Solutions
New Discussion

Re: Mirror disk issue for change HW

 
Van christophe
New Member

Mirror disk issue for change HW

There is rp4440 with 2 disk array mirrored, thye OS is HP-UX 11i V1. One day I found some reason an altinative disk HW address is changed:
OLD: 0/0/15/1.5.0
NEW: 0/0/15/1.6.0
maybe my co-worker have change some hardware,the VG infomation is changed yet,vgdisplay -v warnning the pv is not found,how can I restore the mirror?
7 REPLIES 7
Geoff Wild
Honored Contributor

Re: Mirror disk issue for change HW

With vgcfgrestore

vgcfgrestore -R -n /dev/vgXX /dev/rdsk/cXtXdX

where cXtXdX is the "new" device and vgXX is your vg - ie vg01.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Luk Vandenbussche
Honored Contributor

Re: Mirror disk issue for change HW

Try this

vgcfgrestore vg00
vgsync vg00
Torsten.
Acclaimed Contributor

Re: Mirror disk issue for change HW

The best thing is to find out why is something changed and change it back when possible.

BTW, where is the disk located?
I don't know about a HW-Path 0/0/15/1.x.0 for a rp4440.

If you sure to go with the "new" disk, split the mirror and set it up with the new device.




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!   
Nguyen Anh Tien
Honored Contributor

Re: Mirror disk issue for change HW

See my attached doc
Pay your attention on:
Appendix A: Preparing for the Recovery of an LVM System
AND
CHAPTER 4 : Replacing a boot disk WITH mirroring
HTH
tienna
HP is simple
Thomas J. Harrold
Trusted Contributor

Re: Mirror disk issue for change HW

Post some more information:
1) ioscan -funC disk
2) lvlnboot -v
3) strings /etc/lvmtab

-tjh
I learn something new everyday. (usually because I break something new everyday)
Andrew Fong
Advisor

Re: Mirror disk issue for change HW

I think you can run:
1. Remove the missing alternate disk
vgreduce -A n /dev/vgXX /dev/dsk/cXtXdX
2. Add the new alternate disk back
vgextend /dev/vgXX /dev/dsk/cYtYdY

Note: In step 1 you need to include -A n option in the command or else it will hang the command.

Hope that help!
How are you ?
Andrew Fong
Advisor

Re: Mirror disk issue for change HW

I think you have to remove all the mirrored logical volumes before you can do step 1 and 2.
Example:
lvreduce -A n -m /dev/vgXX/lvol?? /dev/dsk/olddisk
How are you ?