aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Rafael Becker <thiago.becker@gmail.com>2017-09-01 18:54:02 -0300
committerBryn M. Reeves <bmr@redhat.com>2018-03-28 17:17:17 +0100
commit4b35f90160e01f8df578ec7bbe67e66e41f9168a (patch)
tree0423718f4fa277d79004615ba181177f69f328a1
parent0746c4317487112d26575d8148df85ef61434507 (diff)
downloadsos-4b35f90160e01f8df578ec7bbe67e66e41f9168a.tar.gz
[xfs] Add xfs_admin information
Some information about xfs volumes is unavailable when using xfs_info, namely UUId an label of the volume. This information is sometimes needed to debug other facilities. Resolves: #1087 Signed-off-by: Thiago Rafael Becker <thiago.becker@gmail.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/xfs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/xfs.py b/sos/plugins/xfs.py
index ee310dd2..bca5fd64 100644
--- a/sos/plugins/xfs.py
+++ b/sos/plugins/xfs.py
@@ -30,6 +30,7 @@ class Xfs(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
for e in dev:
parts = e.split(' ')
self.add_cmd_output("xfs_info %s" % (parts[1]))
+ self.add_cmd_output("xfs_admin -l -u %s" % (parts[1]))
self.add_copy_spec('/proc/fs/xfs')