Gerd v. Egidy

Results 11 comments of Gerd v. Egidy

Thanks for the quick reaction and suggesting `jc --kv`. Unfortunately the most important information is often the tabular section at the end: ``` Number Major Minor RaidDevice State 3 8...

> Ah, nevermind - that's `mdstat` not `mdadm`. :) Yeah. I have seen this library before opening this issue. It is parsing `/proc/mdstat`. mdstat gives some of the necessary data,...

This sound good. I will create a variety of sample output files in different states and raid levels in the next couple of days and upload them here.

I was just getting started collecting example output for you, beginning with raid0. Unfortunately the `--export` output is quite a letdown, it is missing most of the information. Here an...

Here are many different states for raid0 and raid1: [raid0-raid1.zip](https://github.com/kellyjonbrazil/jc/files/9277409/raid0-raid1.zip) There are some features of md raid I'm not familiar with, for example containers and clusters. Also there are the...

> "state": "clean", as you can see in my examples, there are several states that can be active at once: `State : clean, degraded, recovering`. So this will probably have...

I found some more examples in this bugzilla report where users are complaining that the output format is inconsistent: https://bugzilla.redhat.com/show_bug.cgi?id=1380034

> I don't have a raid setup so it's a little difficult for me to check out all of the output possibilities. Just an idea if you want to try...

Sorry for taking so long to respond, I've been busy with other stuff. Thank you very much for your work, I think this is mostly complete. Here are some small...

I tested your latest version. It is looking very good to me now, it now gets all values I care for and some more. Thank you for implementing this parser.