Skip to contentSkip to conversation

activating spares

DISCUSSION Keld Simonsen 2 participants 2 messages Mar 10, 2010 MD RAID

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · On Wed, 10 Mar 2010 08:43:43 +0100 Keld Simonsen <[email protected]> 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

Quoted 8 lines
     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

Quoted 7 lines

best regards
keld
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html