aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-08-13 12:13:38 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-08-13 12:13:38 +0100
commit9ccac531318ae1a4fd98a05bf5ef3e84f2891f42 (patch)
tree4cc0f9773d7a80c52694b9a5a00d598303387cca
parenta76a7ba5f9220627dc56a3a925f0d0bb663f35a4 (diff)
downloadsos-9ccac531318ae1a4fd98a05bf5ef3e84f2891f42.tar.gz
Make lvm2 plugin lvmdump option collect metadata
The lvmdump-a option currently collects 'advanced' data but not raw metadata. Since it's off by default and the metadata is often of interest in support cases rename the option to lvmdump-am and have it also pass the '-m' (raw metadata) option to the lvmdump script. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/lvm2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py
index 4e55f27f..d321e62c 100644
--- a/sos/plugins/lvm2.py
+++ b/sos/plugins/lvm2.py
@@ -22,8 +22,8 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
plugin_name = 'lvm2'
option_list = [("lvmdump", 'collect an lvmdump tarball', 'fast', False),
- ("lvmdump-a", 'use the -a option of lvmdump (implies the ' \
- + '"lvmdump" option)', 'slow', False)]
+ ("lvmdump-am", 'use the -a -m options of lvmdump ' \
+ '(implies the "lvmdump" option)', 'slow', False)]
def do_lvmdump(self):
"""Collects an lvmdump in standard format with optional metadata