Xfce "Free Space Checker" panel plugin shows wrong values for NAS

The correct data for the NAS are (same readable in inxi -Fxxxz as you could see below):
Local Storage: total: 3.87 TiB used: 1.25 TiB (32.3%)
Also the admin GUI of the NAS says so:
image
The correct data for the OS partition is 177,29 GB free.
Xfce "Free Space Checker" panel plugin show
177,29 GB free for NAS (wrong) and 177,29 GB free for OS partition (correct).

System:
  Host: pc Kernel: 5.3.11-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.2.0 Desktop: Xfce 4.14.1 tk: Gtk 3.24.12 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG X570 GAMING PLUS (MS-7C37) 
  v: 2.0 serial: <filter> UEFI [Legacy]: American Megatrends v: A.40 
  date: 09/10/2019 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 3700X bits: 64 type: MT MCP arch: Zen 
  L1 cache: 512 KiB L2 cache: 4096 KiB L3 cache: 32.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 115250 
  Speed: 2633 MHz min/max: 2200/3600 MHz boost: enabled Core speeds (MHz): 
  1: 3530 2: 2055 3: 2049 4: 2057 5: 1866 6: 1899 7: 2697 8: 1930 9: 1966 
  10: 2051 11: 1927 12: 2042 13: 2800 14: 1896 15: 3585 16: 2046 
Graphics:
  Device-1: NVIDIA GF114 [GeForce GTX 560 Ti] vendor: CardExpert 
  driver: nouveau v: kernel bus ID: 2d:00.0 chip ID: 10de:1200 
  Display: x11 server: X.Org 1.20.5 driver: nouveau unloaded: modesetting 
  alternate: fbdev,nv,vesa resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: NVCE v: 4.3 Mesa 19.2.4 direct render: Yes 
Audio:
  Device-1: NVIDIA GF114 HDMI Audio vendor: CardExpert 
  driver: snd_hda_intel v: kernel bus ID: 2d:00.1 chip ID: 10de:0e0c 
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 2f:00.4 chip ID: 1022:1487 
  Device-3: Logitech HD Webcam C910 type: USB 
  driver: snd-usb-audio,uvcvideo bus ID: 5-3:2 chip ID: 046d:0821 
  serial: <filter> 
  Sound Server: ALSA v: k5.3.11-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: d000 bus ID: 27:00.0 
  chip ID: 10ec:8168 
  IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IF-ID-1: docker0 state: down mac: <filter> 
Argument "1TB" isn't numeric in numeric eq (==) at /usr/bin/inxi line 11522.
Use of uninitialized value within @row in pattern match (m//) at /usr/bin/inxi line 11562.
Drives:
  Local Storage: total: 3.87 TiB used: 1.25 TiB (32.3%) 
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT1000P1SSD8 size: 931.51 GiB 
  speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: P3CR013 scheme: MBR 
  ID-2: /dev/sda vendor: Samsung model: HD103UJ size: 931.51 GiB 
  speed: 3.0 Gb/s serial: <filter> rev: 1112 scheme: MBR 
  ID-3: /dev/sdb vendor: Samsung model: SSD 840 PRO Series size: 238.47 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: 4B0Q scheme: MBR 
  ID-4: /dev/sdc vendor: Western Digital model: WD10EFRX-68JCSN0 
  size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> rev: 1A01 scheme: MBR 
  ID-5: /dev/sdd vendor: Western Digital model: WD10EFRX-68JCSN0 
  size: 931.51 GiB speed: 6.0 Gb/s serial: <filter> rev: 1A01 scheme: MBR 
Partition:
  ID-1: / size: 862.34 GiB used: 641.18 GiB (74.4%) fs: ext4 
  dev: /dev/nvme0n1p4 
Sensors:
  System Temperatures: cpu: 51.2 C mobo: N/A gpu: nouveau temp: 38 C 
  Fan Speeds (RPM): N/A gpu: nouveau fan: 1140 
Info:
  Processes: 467 Uptime: 1d 9h 00m Memory: 31.38 GiB used: 8.88 GiB (28.3%) 
  Init: systemd v: 242 Compilers: gcc: 9.2.0 Shell: bash (su) v: 5.0.11 
  running in: bash inxi: 3.0.36 

BTW if i use a name in Xfce "Free Space Checker" panel plugin all other values ar not visible. not expected. see here:
image

BTW this sh script works nearly correct: https://gist.github.com/sl5net/158d3cdb9f91f7482661874eb483e447

you may want compare this issue with this issue: https://stackoverflow.com/questions/58927403/disk-usage-info

Opening a bug report
https://goodies.xfce.org/projects/panel-plugins/xfce4-fsguard-plugin
would be better.

1 Like

https://bugzilla.xfce.org/show_bug.cgi?id=16202

Forum kindly sponsored by