0ry0n / Resource_Monitor

Resource_Monitor is a GNOME Shell extension that Monitor the use of system resources like cpu, ram, disk, network and display them in GNOME Shell top bar.
GNU General Public License v3.0
143 stars 20 forks source link

Disk activity is not displayed for ZFS storage pool #65

Closed Davem734 closed 1 year ago

Davem734 commented 1 year ago

Describe the bug Disk activity is not displayed for a ZFS storage pool (two drives, mirrored) mounted at /RAID

To Reproduce Steps to reproduce the behavior: Mount ZFS storage pool at mountpoint /RAID In settings check Stats and Space boxs for /RAID Space - ON Width=40 Unit = Num/Gig Mon = Free
Devices /home - Stats, Space /RAID - Stats, Space

Expected behavior Space is displayed but activity is not for the /RAID mountpoint The /home mountpoint is working correctly

Screenshots

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

Davem734 commented 1 year ago

Additional info:

$ zfs --version
zfs-2.1.5-1ubuntu6~22.04.1
zfs-kmod-2.1.5-1ubuntu6

A command to get the zpool status is:

$ zpool iostat
which returns:
              capacity     operations     bandwidth 
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
ZFSM01      1.50T  9.40T      0     36    195  22.8M
0ry0n commented 1 year ago

I added a functionality in the prefs of the disk that shows all monitoring devices (/dev/*).

In the case of a ZFS pool, it is possible to monitor the statistics of the devices used for the pool (example /dev/sdb /dev/sdc) and the pool space (example /RAID).

Unfortunately for now the two things are separated. I will try to improve it in the next versions.