1833873 Members
2147 Online
110063 Solutions
New Discussion

disks failure

 
SOLVED
Go to solution
A Pandey
Frequent Advisor

disks failure

hi,

one physical disk (total 8 disks divided into two volume groups vg00 vg02) on vg02 failed last evening.

things are still working ok here for now...it says that all the lvol on vg02 are mirrored. HP is sending over a technician to replace the disk but they will not do any restore of data. I was wondering how I go about doing this. I don't know what logical volumes were on this physical volume.

any suggestions are helpful at this time.
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: disks failure

If it is mirrored, you don't have to restore! You replace the failed disk, do a vgcfgrestore to it, then "vgchange -a y", followed by vgsync (if it doesn't sync by itself).

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


Pete

Pete
DCE
Honored Contributor

Re: disks failure

Since the system is still up and everything is mirrored, you should have no data loss. You will have to recreate the mirror though.

Steps to do this (assuming a vgcfgbackup was run ealier):
Replacing a non root disk
Replace disk
vgcfgrestore â n /dev/vg02
vgchange â a y /dev/vg02
vgsync /dev
Mahesh Kumar Malik
Honored Contributor

Re: disks failure

Hi Pandey

Since lvols are mirrored, nothing needs to be restored. After replacing the disk, following steps will help:

1. vgcfgrestore to restore config on replaced disk
2. vgchange -a y to activate the vol group
3. vgsync will synchronise the disks.

After synchronisation is over, you may do lvdisplay of affected disk to verify for extents.

Regards
Mahesh