aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Koski <mechaxl@gmail.com>2015-12-14 13:32:56 -0600
committerBryn M. Reeves <bmr@redhat.com>2015-12-18 17:13:55 +0000
commit146bdc43b6bc0485516979c8197ee4bafeb64b8d (patch)
tree66ad27fa15f943b1707200d6d319ced092dfb940
parent5ebd0bd9f06cffa1ff571f38df50ac107b8e0341 (diff)
downloadsos-146bdc43b6bc0485516979c8197ee4bafeb64b8d.tar.gz
[md] Add collection of per-device and global device parameters
For more information about these parameters, see the md man page: http://linux.die.net/man/4/md The kernel.org documentation also has some information about these parameters: https://www.kernel.org/doc/Documentation/md.txt Fixes #700. Signed-off-by: Kenneth Koski <mechaxl@gmail.com>
-rw-r--r--sos/plugins/md.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/md.py b/sos/plugins/md.py
index f0526361..9024d9a6 100644
--- a/sos/plugins/md.py
+++ b/sos/plugins/md.py
@@ -27,7 +27,9 @@ class Md(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self.add_copy_spec([
"/proc/mdstat",
"/etc/mdadm.conf",
- "/dev/md/md-device-map"
+ "/dev/md/md-device-map",
+ "/proc/sys/dev/raid/*",
+ "/sys/block/md*/md*"
])