linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Couple of questions.
@ 2011-04-09 16:14 Brad Campbell
  2011-04-09 23:17 ` Roman Mamedov
  2011-04-10  8:02 ` NeilBrown
  0 siblings, 2 replies; 3+ messages in thread
From: Brad Campbell @ 2011-04-09 16:14 UTC (permalink / raw)
  To: linux-raid

1 - When adding 2 missing disks to a RAID-6 (let's say a 4 drive RAID-6 
that was created with only 2 disks initally) why does it sync the first, 
then sync the second rather than doing both together?
  ie mdadm --add /dev/md0 /dev/sd[ab]

2 - If a drive disappears how do I remove it from an array.
  Let's say I have a 10 drive RAID-6 that has an odd error on a disk. 
The disk goes away (sdl), the disk comes back as sdq as md is still 
hanging on to the name sdl. I add sdq to the array, but I can't remove 
sdl as it physically no longer exists. udev has removed the device node 
and mdadm can't remove it from the array as it can't tell what it was.

Like this :
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md0 : active raid6 sdq[10] sdc[0] sdd[6] sdl[1](F) sdh[9] sda[8] sde[7] 
sdg[5] sdb[4] sdf[3] sdm[2]
       7814078464 blocks super 1.2 level 6, 64k chunk, algorithm 2 
[10/10] [UUUUUUUUUU]

Nothing urgent, just musings after the last weeks oddities.

Regards,
Brad

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

end of thread, other threads:[~2011-04-10  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-09 16:14 Couple of questions Brad Campbell
2011-04-09 23:17 ` Roman Mamedov
2011-04-10  8:02 ` NeilBrown

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).