aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-03-07 15:44:07 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-03-07 15:44:07 +0000
commit61e0716bea42cfd995842fe94b4fc24649780b53 (patch)
tree2eaa990a90bb9369fdca9fe46f009af76be6221b /src/lib
parentdc136d89fb6b68bbf8bd7106c715452c7203ab73 (diff)
downloadsos-61e0716bea42cfd995842fe94b4fc24649780b53.tar.gz
Added further commands' output to gather, taken from Alisdar's own LVM troubleshooting script (lvm_dump):
http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/LVM2/scripts/lvm_dump.sh?cvsroot=lvm2 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@91 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/lib')
-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")