aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Castillo <jcastillo@redhat.com>2014-08-15 11:55:26 +0200
committerJose Castillo <jcastillo@redhat.com>2014-08-15 13:29:02 +0200
commit9fd7a3f5905d68e0aa016b5e8713c35cc374602a (patch)
treee62ef99e0a2c5828e1b80abc3c1b38453c5f92cb
parentbaa8c63c87dc855424b7f65ab78d556be39be242 (diff)
downloadsos-9fd7a3f5905d68e0aa016b5e8713c35cc374602a.tar.gz
[lvm2] Add pe_start to the output of 'pvs'
This patch adds the column pe_start (alignment offset) to the output of the 'pvs' command in the lvm2 plugin. Solves #331 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
-rw-r--r--sos/plugins/lvm2.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py
index ab6f0a7a..c1d4769e 100644
--- a/sos/plugins/lvm2.py
+++ b/sos/plugins/lvm2.py
@@ -54,6 +54,7 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
)
pvs_cols = 'pv_mda_free,pv_mda_size,pv_mda_count,pv_mda_used_count'
+ pvs_cols = pvs_cols + ',' + 'pe_start'
vgs_cols = 'vg_mda_count,vg_mda_free,vg_mda_size,vg_mda_used_count'
vgs_cols = vgs_cols + ',' + 'vg_tags'
lvs_cols = 'lv_tags,devices'