Disks out of sync

4 messages, 3 authors, 2002-09-30 · open the first message on its own page

Disks out of sync

From: Mike Parsons <hidden>
Date: 2002-09-30 13:56:49

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 

Re: Disks out of sync

From: Adam Luter <hidden>
Date: 2002-09-30 14:53:51

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

Re: Disks out of sync

From: Mike Parsons <hidden>
Date: 2002-09-30 17:31:42


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

Re: Disks out of sync

From: Mads Peter Bach <hidden>
Date: 2002-09-30 17:47:51

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help