stratis-storage/stratis-cli

Add lsblk report capability to pool

Opened this issue · 1 comments

Sub of stratis-storage/project#630

What we want to do is invoke lsblk -i with the pool's devices' devnodes as arguments.

There were other commands that we want to run; I made a chart of them, and the corresponding categories:

("p": pool-related command)
("gl": global command)

p    lsblk -i /dev/nvme0n1p2 /dev/nvme0n1p3
gl   stratis pool list
gl   stratis pool list --stopped
gl   stratis report engine_state_report
gl   busctl tree org.storage.stratis3
p    dmsetup table
     dmsetup ls --tree -o ascii
p    stratis-dumpmetadata /dev/nvme0n1p2
p    stratis-dumpmetadata /dev/nvme0n1p3