Closed fischer-felix closed 2 months ago
I need you to run the following command and paste here the output in order to better understand what's the root cause of this bug:
lsblk -Jb -o ID,UUID,NAME,KNAME,PKNAME,LABEL,TYPE,SUBSYSTEMS,MOUNTPOINTS,VENDOR,MODEL,PATH,RM,RO,STATE,OWNER,SIZE,FSUSE%,FSTYPE
Also, I guess you have stock settings, but just for the sake of thoroughness, could you take a screen to the ignored devices section in the storage tab as in the example below?
and which lsblk
possibly.
Thank you!
Well, thanks to which lsblk
I was able to figure it out.
Initially the output of lsblk -Jb -o ID,UUID,NAME,KNAME,PKNAME,LABEL,TYPE,SUBSYSTEMS,MOUNTPOINTS,VENDOR,MODEL,PATH,RM,RO,STATE,OWNER,SIZE,FSUSE%,FSTYPE
was just
lsblk: unknown column: ID,UUID,NAME,KNAME,PKNAME,LABEL,TYPE,SUBSYSTEMS,MOUNTPOINTS,VENDOR,MODEL,PATH,RM,RO,STATE,OWNER,SIZE,FSUSE%,FSTYPE
and the settings in the extension showed no devices at all.
I did, however, notice that lsblk was installed though brew, so which lsblk
returned
/home/linuxbrew/.linuxbrew/bin/lsblk
I just uninstalled brew altogether since I didn't need it any more, but fixing the order in PATH
should also suffice.
After this, lsblk was installed in /usr/bin/lsblk
and the command now returns
and the devices actually show up in Astra Monitor after restarting the extension
Maybe part of the dependency check should be a check if a compatible version of a dependency is installed, to cover edge cases like this one.
I considered using which
to locate the path to the various dependencies but then discarded it because it may possibly lead to security flaws in the future. Yours is a very edge case, if I receive several more reports I will introduce an additional setting to fix this problem.
Description
Trying to set up the Storage monitor, only the I/O graph works, however no information relating to used/free space is shown.
Steps to Reproduce
Screenshots
Environment
Logs
Output of
lsblk
Output of
df -h
Additional Context