stratis-storage / stratis-cli

CLI for the Stratis project
https://stratis-storage.github.io
Apache License 2.0
106 stars 20 forks source link

Add lsblk report capability to pool #1000

Open mulkieran opened 1 year ago

mulkieran commented 1 year ago

Sub of https://github.com/stratis-storage/project/issues/630

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

bgurney-rh commented 1 year ago

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