Linux RAID subsystem development
 help / color / mirror / Atom feed
* mdadm won't remove drive from array
@ 2014-02-24 10:51 Caspar Smit
  2014-02-24 11:05 ` Mikael Abrahamsson
  2014-02-24 21:54 ` NeilBrown
  0 siblings, 2 replies; 5+ messages in thread
From: Caspar Smit @ 2014-02-24 10:51 UTC (permalink / raw)
  To: Linux RAID

Hi all,

I'm having trouble removing a failed drive from an array.

#cat /proc/mdstat

md5 : active raid6 sdn[14](S) sdm[13](S) sdad[12] sdl[11] sdba[10]
sde[0](F) sdd[9] sdc[8] sdk[7] sdj[6] sdi[5] sdh[3] sdg[2]
      15628103680 blocks super 1.2 level 6, 512k chunk, algorithm 2
[10/10] [UUUUUUUUUU]

The drive in question is sde

#mdadm --remove /dev/md5 /dev/sde
mdadm: cannot find /dev/sde: No such file or directory

The drive crashed so hard it is not visible to the kernel anymore.

# cat /proc/partitions |grep sde
<no output>

Normally in such case i do:

#mdadm --remove /dev/md5 detached
<no output>

The drive remains in the array.

Is there any other way to remove this detached drive from the array
without having to stop/start the array or is this a (known) bug?

# mdadm -V
mdadm - v3.1.4 - 31st August 2010

# uname -a
Linux supernas01 3.2.0-0.bpo.4-amd64 #1 SMP Debian 3.2.39-2~bpo60+1
x86_64 GNU/Linux

Kind regards,
Caspar Smit

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

end of thread, other threads:[~2014-02-25  9:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-24 10:51 mdadm won't remove drive from array Caspar Smit
2014-02-24 11:05 ` Mikael Abrahamsson
2014-02-24 13:46   ` Caspar Smit
2014-02-24 21:54 ` NeilBrown
2014-02-25  9:18   ` Caspar Smit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox