1
0
forked from rpms/sos
sos/sos-2.2-bz704383-fix-lvm-data-collection.patch
Bryn M. Reeves 13178ca5fa Update sos to 2.2-29
This synchronises sos in master to the current upstream sos-2.2 branch and
includes all patches from RHEL6 not already present.
2012-06-22 12:16:21 +01:00

23 lines
1.2 KiB
Diff

diff -up sos-2.2/sos/plugins/devicemapper.py.orig sos-2.2/sos/plugins/devicemapper.py
--- sos-2.2/sos/plugins/devicemapper.py.orig 2011-08-13 13:45:57.508883390 +0100
+++ sos-2.2/sos/plugins/devicemapper.py 2011-08-13 13:47:19.384833623 +0100
@@ -34,12 +34,12 @@ class devicemapper(sos.plugintools.Plugi
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.addCopySpec("/etc/lvm")