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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 28, 2013, at 8:45 PM, Can Jeuleers <can.jeuleers@xxxxxxxxx> wrote:

> On 11/28/2013 06:11 PM, Ivan Lezhnjov IV wrote:
>> 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--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux