1827066 Members
4202 Online
109713 Solutions
New Discussion

Disk Failure

 
Bona_1
Frequent Advisor

Disk Failure

Hello All,
I have an RP 7410 with a failed mirror disk. I want to replace the failed disk, and I want to know if there are any commands i need to type before I replace the disk? The way i see it, since the disk is failed, I don't need to unmount the file systems anyway, all i need to do is switch the disk, restore (vgcfgrestore) and re-sync. Please advice.
5 REPLIES 5
Rajeev  Shukla
Honored Contributor

Re: Disk Failure

Yes, since the LV's on the disks are already mirrored, there is no need to unmount any filesystems as the system would still be running.
Just replace the disk with a new one, do a vgcfgrestore on the new disk, that should re-sync all mirrors and if not do a vgsync

PVR
Valued Contributor

Re: Disk Failure

Hi

Replace the disk. No need to unmount filesystems
Do #pvcreate /dev/rdsk/cXtXdX

#vgcfgrestore vgname /dev/dsk/cXtXdX
#vgsync /dev/vgname
Don't give up. Try till success...
Hazem Mahmoud_3
Respected Contributor

Re: Disk Failure

So I have a question, how do you know which vgname to use with vgcfgrestore and vgsync since there can be several vg's on a physical volume? Do you do it for all vg's that exist on that disk? Thanks!

-Hazem
Mourad Derriche
Occasional Advisor

Re: Disk Failure

Hi

Yes, you would definately have to issue vgsync for each volume group that it is associated with.

The procedure is as follows.

pvcreate /dev/rdsk/
vgcfgrestore /dev/ /dev/rdsk/
vgsync /dev/

Issue vgsync for each volumegroup the disk is a member of.

Remember that if the disk is a bootdevice you will need to add '-B' to pvcreate, and reapply the LIF area.

Read between the lines...
Rajeev  Shukla
Honored Contributor

Re: Disk Failure

Hi Friends,
Let me correct you, a disk can belong to only one VG, so how can you say there can be many VG assocaited with a particular PV?
And by the way you can even re-activate the VG and that will start the VG syncing.