Hi all
I have a 3 disk soft raid5 array. One disk has failed. Due to a
faulty removable drive tray the other disks are out of sync. The data on
the remaining disks should be identical.
Can someone please refresh my memory, on how to re-sync the disks.
Thank You.
Mike Parsons
Apparantly it should happen automatically when you put the drive back
in. (And raidstop/start the drive). If not, while the array is
started, run 'raidhotadd' on the drive. It will treat the out of sync
drive as a new spare.. then once it's done syncing the spare it will
treat the spare as if it was the drive missing (that is, it will
upgrade it's status as a spare to a full fledge drive).
p.s. I'm not an expert, but I did just have to do this on mine (except
the auto part didn't work, so I had to use the hotadd part).
-Gryn (Adam Luter)
On Mon, Sep 30, 2002 at 02:56:49PM +0100, Mike Parsons wrote:
Hi all
I have a 3 disk soft raid5 array. One disk has failed. Due to a
faulty removable drive tray the other disks are out of sync. The data on
the remaining disks should be identical.
Can someone please refresh my memory, on how to re-sync the disks.
Thank You.
Mike Parsons
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 30 Sep 2002, Adam Luter wrote:
Apparantly it should happen automatically when you put the drive back
in. (And raidstop/start the drive). If not, while the array is
started, run 'raidhotadd' on the drive. It will treat the out of sync
drive as a new spare.. then once it's done syncing the spare it will
treat the spare as if it was the drive missing (that is, it will
upgrade it's status as a spare to a full fledge drive).
p.s. I'm not an expert, but I did just have to do this on mine (except
the auto part didn't work, so I had to use the hotadd part).
-Gryn (Adam Luter)
Thanks for the reply Adam, but the 2 good disks are not being recognised,
as the superblocks are out of sync. I have approx. 40 GB of data that I
would like to recover.
I had this problem a while ago, and someone on the
list explained how to resync the suberblocks. Unfortunately the e-mail
with the information is on the raid array. Hopefully someone can refresh
my memory.
Cheers
Mike Parsons
Mike Parsons wrote:
Hi all
I have a 3 disk soft raid5 array. One disk has failed. Due to a
faulty removable drive tray the other disks are out of sync. The data on
the remaining disks should be identical.
Can someone please refresh my memory, on how to re-sync the disks.
It's in the FHOWTO:
http://www.tldp.org/HOWTO/Software-RAID-HOWTO-6.html#ss6.1
Mark your failed disk as failed in /etc/raidtab and do a mkraid
--
Mads