linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kicking the right drive out
@ 2007-10-13 18:00 Alberto Alonso
  2007-10-14  8:49 ` Nagilum
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto Alonso @ 2007-10-13 18:00 UTC (permalink / raw)
  To: linux-raid

I have a need to kick a disk out of a RAID 5 array.

I can do a fdisk on 2 out of the 3 devices that form part
of the array, so I suspect I know which one is bad.

The problem is that mdstat shows the array as follows:

md3 : active raid5 sda6[0] sdc6[2] sdb6[1]
      960863488 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      [>....................]  resync =  0.7% (3444348/480431744)
finish=582280.4min speed=1K/sec


Doesn't this mean that all three disks are active and in use?

mdadm -D /dev/md3 shows:

    Number   Major   Minor   RaidDevice State
       0       8        6        0      active sync   /dev/sda6
       1       8       22        1      active sync   /dev/sdb6
       2       8       38        2      active sync   /dev/sdc6

So, my question is as follows: can I remove sdc6 and be sure the
array will not stop?

To make things worse, I see no disk failures in any log file. So
I am not sure how sdc is actually failing.

Thanks,

Alberto



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

end of thread, other threads:[~2007-10-14  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-13 18:00 Kicking the right drive out Alberto Alonso
2007-10-14  8:49 ` Nagilum

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