Questions regarding bad block management

From
Clemens Eisserer <hidden>
Date
2014-01-26 21:03:45
Hi,

I've seen several SD cards used in my raspberry pi develop bad blocks
which can not be read or written anymore.
I thought raid couldn't help here as it would flag the whole device as
"bad" once it can not write a block anymore, however recently I
learned linux-raid is now capable of handling bad blocks.

I've been searching a bit, however didn't find a lot of information,
so I would be greateful if somebody could answer the following
questions:

1. Is the badblock-code contained in the stable 3.12 kernel?

1. Using a raid1 with badblock management, is it possible for
linux-raid to automatially repair errors transparently?
So if a block goes bad, does linux-raid silently replace it without
user intervention.

2. What happens in case a replaced block fails again? Is this supported?

Any pointer to documentation about bad-block handling would be highly
appriciated.

Thanks, Clemens
Thread (2 messages) 2 messages, 2 authors, last reply 2014-02-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help