Operating System - HP-UX
1833723 Members
3425 Online
110063 Solutions
New Discussion

Re : Recovering a mirror disk

 
SOLVED
Go to solution
Vincent_5
Super Advisor

Re : Recovering a mirror disk

Hi Guys,
Can anyone guide me how can I recover a mirror disk from a faulty harddisk. I have a rp3410 with 2 x 36GB harddisk internal running with mirror disk on vg00. Currently, one of my root disk spolit and I have replace it. But, I don't know how to recover the alt mirror disk back to the root disk. Please advice.


Regards
Vincent
nothing is better than to know more
6 REPLIES 6
Sunil Sharma_1
Honored Contributor

Re: Re : Recovering a mirror disk

Have a look on this thread

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

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Suraj_2
Valued Contributor
Solution

Re: Re : Recovering a mirror disk

Hi Vincent

Please find the attached doc in ZIP format..

Also follow the link provided

Rgds
Suraj

bhavin asokan
Honored Contributor

Re: Re : Recovering a mirror disk

hi,

see the following document .it will help you.

regds
Stf
Esteemed Contributor

Re: Re : Recovering a mirror disk

do the foollowing :

# pvcreate -f -B /dev/rdsk/
# vgcfgrestore -n /dev/vg00 /dev/rdsk/
# vgchange -a y /dev/vg00
# mkboot /dev/rdsk/
# mkboot -a "hpux â lq (;0)/stand/vmunix" /dev/rdsk/
# lvlnboot -Rv
# vgsync /dev/vg00

then try to boot on your new mirrored disk to test it...

Stf ;
Hoang Chi Cong_1
Honored Contributor

Re: Re : Recovering a mirror disk

Hi Vincent

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.

Regard,

Jimkery
Looking for a special chance.......
Hoang Chi Cong_1
Honored Contributor

Re: Re : Recovering a mirror disk

Hi Vincent

You can do 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.

Regard,

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