linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mdadm bad blocks list
@ 2016-01-27 18:45 Sarah Newman
  2016-01-28  3:19 ` NeilBrown
  0 siblings, 1 reply; 10+ messages in thread
From: Sarah Newman @ 2016-01-27 18:45 UTC (permalink / raw)
  To: linux-raid

I experienced the following problems with the mdadm bad blocks list:

1. Additions to the bad block list do not cause an email to be sent by the mdadm monitor. Expected behavior is for an email to be sent as soon as the
bad blocks list becomes non-empty.
2. /proc/mdstat does not show any indication that there are bad blocks present on an md member. Specifically, the status for the raid personality
should show something other than "U" if the badblocks list is not empty for that member (maybe "B"?)
3. Adding a device when there is an md member with bad blocks does not appear to trigger a rebuild, meaning there could be at least one good copy of
all the data but no way to get all good data on a single device without expanding the entire array.

Kernel: CentOS 6 Xen4CentOS 3.18.21-17
mdadm: CentOS 6 v3.3.2

With the above behavior, I consider the bad blocks list to be actively harmful. If it's expected behavior in the current version, please consider
disabling the bad blocks list by default. We might be able to provide some patches to correct 1. and 2. but we don't have anything ready right now.

--Sarah

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

end of thread, other threads:[~2016-02-11  4:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 18:45 mdadm bad blocks list Sarah Newman
2016-01-28  3:19 ` NeilBrown
2016-01-28  3:55   ` Sarah Newman
2016-01-28  4:45     ` NeilBrown
2016-01-30 18:22     ` Sarah Newman
2016-01-28 11:41   ` deprecating /proc/mdstat (was: Re: mdadm bad blocks list) Jens-U. Mozdzen
2016-01-28 18:21     ` Shaohua Li
2016-02-02 14:33       ` deprecating /proc/mdstat Jes Sorensen
2016-02-02  2:40   ` mdadm bad blocks list Sarah Newman
2016-02-11  4:15     ` 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).