Thread (4 messages) 4 messages, 2 authors, 2013-11-29

Re: /proc/mdstat status documentation and md: export_rdev

From: Ivan Lezhnjov IV <hidden>
Date: 2013-11-29 16:18:13

On Nov 28, 2013, at 8:45 PM, Can Jeuleers [off-list ref] wrote:
On 11/28/2013 06:11 PM, Ivan Lezhnjov IV wrote:
quoted
I would appreciate it if someone pointed out if there is a documentation that can be used to interpret all the codes that appear in /proc/mdstat output. For example, I know that (F) means that an array member's status is Failed, but what about (S)? Are there any other status codes like that? What are their meanings?
Use the code Luke :-)

See drivers/md/md.c:md_seq_show(). This suggests:

(W) means write-mostly
(F) means faulty
(S) means spare

HH, Jan
This is great. Thank you. I'm not fluent at C but it sheds at least some light on this.

Also, it looks like rdev is a "raid device" as opposed to bdev being "block device" but it's interesting how the flow of assembling array looks like. Any chance you or anyone else know where i could read a description without having to decipher the md.c?

Ivan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help