Operating System - HP-UX
1825768 Members
2060 Online
109687 Solutions
New Discussion

Re: How to replace a failed disk in the root VG

 
SOLVED
Go to solution
Madhu_17
Regular Advisor

How to replace a failed disk in the root VG

Hi,

How to replace a failed disk in the root VG mirror.

Can anybody post be the tasks before hard disk replacement and after the disk replacement avtivities step-by-step.

I have the below LVs in the root VG.

lvol1(/stand), ,lvol2(swap), lvol3(/), lvol7(/usr), lvol8(/var).

Thanks in Advance,
Madhu

6 REPLIES 6
Sunil Sharma_1
Honored Contributor

Re: How to replace a failed disk in the root VG

This thread should help you


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=763046


Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
bhavin asokan
Honored Contributor
Solution

Re: How to replace a failed disk in the root VG

hi,

see the following document



regds,
Madhu_17
Regular Advisor

Re: How to replace a failed disk in the root VG

So can i use the below commands for the root VG disk replacement also?

#vgcfgrestore -n /dev/vgX
#vgchange -a y /dev/vgX
#vgsync /dev/vgX

Stf
Esteemed Contributor

Re: How to replace a failed disk in the root VG

Yep you can,

see attach file...

Stf ;-)
Stf
Esteemed Contributor

Re: How to replace a failed disk in the root VG

But you have to do mkboot command since this disk is use to be bootable, see my precedent attached file...

Stf ;-)
Hoang Chi Cong_1
Honored Contributor

Re: How to replace a failed disk in the root VG

No!
Follow these steps:
1. lvlnboot -A autobackup vg00
2. vgcfgrestore -n /dev/vg00 /dev/rdsk/cXtXdX
3. vgchange -a y /dev/vg00
4. mkboot /dev/rdsk/cXtXdX
5. mkboot /dev/dsk/cXtXdX
6. mkboot -a "hpux -lq" /dev/rdsk/cXtXdX
7. lvlnboot -R
8. lvlnboot -v (check again)
9. vgsync /dev/vg00
10. shutdown -r

Goodluck to you

Jimkery
Looking for a special chance.......