Operating System - HP-UX
1850225 Members
2982 Online
104052 Solutions
New Discussion

Re: defective mirror boot disk

 
Jacques Carriere
Regular Advisor

defective mirror boot disk

to deactivate the defective disk I used
#pvchange -a N /dev/dsk/c1t2d0 (OLR patches installed)

Now to reactivate the new disk, can someone give me a hand with the correct sequence of commands to use?

6 REPLIES 6
Geoff Wild
Honored Contributor

Re: defective mirror boot disk

Never done it that way before...

Did you try:

pvchange -a y /dev/dsk/c1t2d0

and/or

vgchange -a y /dev/vg00

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.
Jaime Bolanos Rojas.
Honored Contributor

Re: defective mirror boot disk

Jacques, also this is an excellent and very short reference about replacing disks on the system:

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

Regards,

Jaime.
Work hard when the need comes out.
Torsten.
Acclaimed Contributor

Re: defective mirror boot disk

replace the disk, restore the config (vgcfgrestore -n vg00 /dev/rdsk/c...) and activate the pv again.
Now proceed to restore the boot area and sync the mirror (see manual linked above).

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!   
Jacques Carriere
Regular Advisor

Re: defective mirror boot disk

I had problems with the vgcfgrestore. Can someone explain why I needed to use the force option.

1- put disk in
2- vgchange -a y /dev/vg00
3- vgcfgrestore -F -n vg00 /dev/rdsk/c1t2d0
4- pvchange -a y /dev/dsk/c1t2d0
5- vgsync /dev/vg00

thanks to all you participated
Jaime Bolanos Rojas.
Honored Contributor

Re: defective mirror boot disk

Jacques, personally with lvm, when something is supposed to work in lvm and it just doesn't then I forced and it works.
There is a reason behind, but I just don't quite remember right now.

Regards,

Jaime
Work hard when the need comes out.
Jacques Carriere
Regular Advisor

Re: defective mirror boot disk

à la prochaine et merci. Jacques