Thread (21 messages) 21 messages, 5 authors, 2013-08-02

Re: RFC swap over raid1

From: Doug Ledford <hidden>
Date: 2013-08-02 16:35:43

On 08/02/2013 11:59 AM, Roberto Spadim wrote:
nice good explanations thanks

one more doubt....
filesystem handle bad blocks
md handle bad blocks

what happen when i have a filesystem over md?
does md report badblocks to filesystem?
If md can not repair the block and it is unable to get the data from
some other device in the array, then and only then will it report the
error back up to the filesystem layer on top of it.  In that case, the
filesystem will see the error and execute whatever the default behavior
on error is, which is different from filesystem to filesystem, but in
the past has commonly been to force the filesystem immediately into a
read-only mode so no further damage can happen and attempts at repair
can be made in rescue mode.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help