diff options
author | Nathaniel Clark <Nathaniel.Clark@misrule.us> | 2018-01-31 11:11:49 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-04-19 14:48:32 +0100 |
commit | b5d931650529e22f044a6120938a027ec46f74de (patch) | |
tree | b1c099fa14925268dc5806d5e116d803eaddfaf6 | |
parent | 188b8b70ea5790af3fe1ca9fc7eea28e83a149a6 (diff) | |
download | sos-b5d931650529e22f044a6120938a027ec46f74de.tar.gz |
[zfs] Add support for zfsonlinux and rhel
This add support for the official OpenZFS port for Linux
https://github.com/zfsonlinux/zfs
The primary package is zfs and is supported on rhel.
Fixes: #1213
Resolves: #1201
Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/zfs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sos/plugins/zfs.py b/sos/plugins/zfs.py index 143087cf..0402bb10 100644 --- a/sos/plugins/zfs.py +++ b/sos/plugins/zfs.py @@ -13,24 +13,24 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from sos.plugins import Plugin, UbuntuPlugin, DebianPlugin +from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin -class Zfs(Plugin, UbuntuPlugin, DebianPlugin): +class Zfs(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): """ZFS filesystem """ plugin_name = 'zfs' profiles = ('storage',) - packages = ('zfsutils-linux',) + packages = ('zfsutils-linux', 'zfs',) def setup(self): self.add_cmd_output([ "zfs get all", "zfs list -t all -o space", "zpool list", - "zpool status -x" + "zpool status -vx" ]) zpools = self.call_ext_prog("zpool list -H -o name") |