aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-11-29 18:52:13 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-11-29 18:52:13 +0000
commit64182e4154b270d4862d278464f085e01132894d (patch)
treef6e725c1db7255bd856afc243621eb634a7bb455
parent0c86532fba05bcbeb626d8022a483be0b1ae94d6 (diff)
downloadsos-64182e4154b270d4862d278464f085e01132894d.tar.gz
Fix collection of data from LVM2 tools in devicemapper plugin
The LVM2 binaries have moved between /usr/sbin (RHEL5) and /sbin (RHEL6). Although current Fedora has them hard-linked to both /sbin is the safest option for current systems.
-rw-r--r--sos/plugins/devicemapper.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/sos/plugins/devicemapper.py b/sos/plugins/devicemapper.py
index a345e5bc..128fbd82 100644
--- a/sos/plugins/devicemapper.py
+++ b/sos/plugins/devicemapper.py
@@ -37,12 +37,12 @@ class devicemapper(Plugin, RedHatPlugin):
self.collectExtOutput("/sbin/dmsetup status")
self.collectExtOutput("/sbin/dmsetup ls --tree")
- self.collectExtOutput("/usr/sbin/vgdisplay -vv", root_symlink = "vgdisplay")
- self.collectExtOutput("/usr/sbin/vgscan -vvv")
- 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.collectExtOutput("/sbin/vgdisplay -vv", root_symlink = "vgdisplay")
+ self.collectExtOutput("/sbin/vgscan -vvv")
+ self.collectExtOutput("/sbin/pvscan -v")
+ self.collectExtOutput("/sbin/lvs -a -o +devices")
+ self.collectExtOutput("/sbin/pvs -a -v")
+ self.collectExtOutput("/sbin/vgs -v")
self.collectExtOutput("/sbin/mdadm -D /dev/md*")
self.addCopySpecs([