From 1c6ed8fbb03cd64c2a93f2656d3ae9e342af8789 Mon Sep 17 00:00:00 2001 From: Jose Castillo Date: Mon, 24 Jul 2017 10:00:36 +0100 Subject: [block] Add the output of 'lsblk -t' The output of 'lsblk -t' provides very useful information about the device's topology, like alignment offset, minimum io size, optimal io size, and others. It is equivalent to running lsblk with options: -o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED, RQ-SIZE,WSAME With this improvement to the block plugin we can see at one glance data available in different places like sysfs, fdisk and/or parted, as well as data not available in the sosreport nowadays, like /sys/block//queue/rotational . Fixes: #1065 Signed-off-by: Jose Castillo Signed-off-by: Bryn M. Reeves --- sos/plugins/block.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sos/plugins/block.py b/sos/plugins/block.py index 864956b1..c2fcb0e9 100644 --- a/sos/plugins/block.py +++ b/sos/plugins/block.py @@ -26,6 +26,7 @@ class Block(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): def setup(self): self.add_cmd_output([ "lsblk", + "lsblk -t", "blkid -c /dev/null", "blockdev --report", "ls -lanR /dev", -- cgit