aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/sos/plugins/devicemapper.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/sos/plugins/devicemapper.py b/src/lib/sos/plugins/devicemapper.py
index 89956eed..90d83b14 100644
--- a/src/lib/sos/plugins/devicemapper.py
+++ b/src/lib/sos/plugins/devicemapper.py
@@ -18,11 +18,18 @@ class devicemapper(sos.plugintools.PluginBase):
"""This plugin gathers device-mapper related information (dm, lvm, multipath)
"""
def setup(self):
- self.collectExtOutput("/sbin/dmsetup info")
+ self.collectExtOutput("/sbin/dmsetup info -c")
self.collectExtOutput("/sbin/dmsetup table")
+ self.collectExtOutput("/sbin/dmsetup status")
- self.addCopySpec("/etc/lvm/lvm.conf")
+ self.collectExtOutput("/usr/sbin/vgscan -vvv")
self.collectExtOutput("/usr/sbin/vgdisplay -vv")
+ self.collectExtOutput("/usr/sbin/pvscan -v")
+ self.collectExtOutput("/usr/sbin/lvs -a -o +devices")
+ self.collectExtOutput("/usr/sbin/pvs -a -v")
+ self.collectExtOutput("/usr/sbin/vgs -v")
+
+ self.addCopySpec("/etc/lvm/lvm.conf")
self.addCopySpec("/etc/multipath.conf")
self.addCopySpec("/var/lib/multipath/bindings")