Operating System - HP-UX
1826498 Members
1924 Online
109692 Solutions
New Discussion

Replace Failed disk with MCSG

 
SOLVED
Go to solution
yaron daniel
Frequent Advisor

Replace Failed disk with MCSG

Hi All

Please read the following file

10x
the truth is out there
3 REPLIES 3
Tim D Fulford
Honored Contributor
Solution

Re: Replace Failed disk with MCSG

Hi

The attached is not quite what I'd do. I'd skip the "vgcfgbackup vg_ora" as you are trying to backup info from a failed disk, probably a bad idea.

1) Remove the bad disk out.
2) Put the new disk in (assumoing it is hot swappable)
3) ioscan -fnC disk (to check the status of the new disk)
4) vgcfgrestore -n /dev/vg_ora /dev/rdsk/c0t13d0

I believe LVM will synchronsie the LV's within the VG, if not then you can do vgsync or lvsync.

Good luck

Tim
-
Patrick Wallek
Honored Contributor

Re: Replace Failed disk with MCSG

You don't need to do the vgcfgbackup. I would do:

1) Replace the disk
2) ioscan
3) vgcfgrestore
4) vgchange -a y vg_ora
5) vgsync
Sanjiv Sharma_1
Honored Contributor

Re: Replace Failed disk with MCSG

Hi Daniel,

Don't run vgcfgbackup.

1. Take out the defective disk.
2. Insert the new/good disk.
3. ioscan -fnCdisk
4. vgcfgrestore -n /dev/vg_ora /dev/rdsk/c0t13d0

Lvm syncronization should start automatically.

Incase it doesn't then run
5. vgsync /dev/vg_ora
6. lvsync /dev/vg_ora/

hth.
Everything is possible