linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* activating spares
@ 2010-03-10  7:43 Keld Simonsen
  2010-03-10  9:18 ` Neil Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Keld Simonsen @ 2010-03-10  7:43 UTC (permalink / raw)
  To: linux-raid

Hi

I made a raid10,f2 arrray (actually 2 arrays) with only one
active disk, one missing. This was after 2 disks were found faulty,
and I then copied the data from my faulty raid to the new  raid, and
installed my other new 2 TB disk. I added the new disk with
     mdadm /dev/md9 --add /dev/sdg1
and it was then listed as a spare. I wanted to activate it, and thought
that --add ing it would automatically start resyncing, but no...
I then tried to force resyncing by 
     mdadm -A /dev/md9 --update resync
but it did not work either. Now I am lost. How do I activate the spare?

kernel 2.6.12 mdadm v1.12.0

best regards
keld

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: activating spares
  2010-03-10  7:43 activating spares Keld Simonsen
@ 2010-03-10  9:18 ` Neil Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2010-03-10  9:18 UTC (permalink / raw)
  To: Keld Simonsen; +Cc: linux-raid

On Wed, 10 Mar 2010 08:43:43 +0100
Keld Simonsen <keld@keldix.com> wrote:

> Hi
> 
> I made a raid10,f2 arrray (actually 2 arrays) with only one
> active disk, one missing. This was after 2 disks were found faulty,
> and I then copied the data from my faulty raid to the new  raid, and
> installed my other new 2 TB disk. I added the new disk with
>      mdadm /dev/md9 --add /dev/sdg1
> and it was then listed as a spare. I wanted to activate it, and thought
> that --add ing it would automatically start resyncing, but no...
> I then tried to force resyncing by 
>      mdadm -A /dev/md9 --update resync
> but it did not work either. Now I am lost. How do I activate the spare?
> 
> kernel 2.6.12 mdadm v1.12.0

Wow, that's OLD!..
Maybe try a newer kernel, it has probably been fixed.

Yes, --adding the device could cause it to store recovery.  I do recall there
have been a few different situations that caused that not to work, but I
don't recall the details.

If you have a service contract, complain to your vendor.  If not, upgraded to 
something a bit less than 5 years old ;-)

sorry I cannot be more helpful.

NeilBrown

> 
> best regards
> keld
> --
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-10  9:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  7:43 activating spares Keld Simonsen
2010-03-10  9:18 ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).