diff options
author | Jose Castillo <jcastillo@redhat.com> | 2018-03-28 18:45:26 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-05-22 15:06:55 +0100 |
commit | d5f83005e97aabfabd2ea636cf2a37d562ec6b7e (patch) | |
tree | 737b1126666e9013390825a7213bd53da6aca6ca | |
parent | cad9540039aeae55b1ebd84c12fd8a853901c822 (diff) | |
download | sos-d5f83005e97aabfabd2ea636cf2a37d562ec6b7e.tar.gz |
[block] Gather information about discards via lsblk
This patch adds the output of 'lsblk -D' to the
block plugin, so we can gather some useful information
about discarding capabilities for each device.
Resolves: #1254
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/block.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/block.py b/sos/plugins/block.py index f153917c..bb722f9b 100644 --- a/sos/plugins/block.py +++ b/sos/plugins/block.py @@ -29,6 +29,7 @@ class Block(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output([ "lsblk", "lsblk -t", + "lsblk -D", "blkid -c /dev/null", "blockdev --report", "ls -lanR /dev", |