Skip to content

Proxmox disks showing as 0% usage #31

Description

@nsleigh

Describe the bug
On both of my Proxmox connections the disk usage is 0%, in both cases I have added the 2 pools rpool and zfs-pool:

Image

Expected behavior
The correct disk usage is collected!

I think this might explain the issue - 'df' doesn't show the actual disk usage but the proxmox command 'pvesm status' does.

root@pve:~# df
Filesystem                               1K-blocks       Used  Available Use% Mounted on
udev                                      30230428          0   30230428   0% /dev
tmpfs                                      6575804       4880    6570924   1% /run
efivarfs                                       256         57        195  23% /sys/firmware/efi/efivars
rpool/ROOT/pve-1                         828235520    9596160  818639360   2% /
tmpfs                                     32879012      34320   32844692   1% /dev/shm
tmpfs                                         5120          0       5120   0% /run/lock
tmpfs                                     32879012          0   32879012   0% /tmp
tmpfs                                         1024          0       1024   0% /run/credentials/systemd-journald.service
rpool                                    818639488        128  818639360   1% /rpool
rpool/var-lib-vz                         818760448     121088  818639360   1% /var/lib/vz
zfs-pool                                5302507136        128 5302507008   1% /zfs-pool
rpool/ROOT                               818639488        128  818639360   1% /rpool/ROOT
rpool/data                               818639488        128  818639360   1% /rpool/data
/dev/fuse                                   131072         36     131036   1% /etc/pve
tmpfs                                         1024          0       1024   0% /run/credentials/getty@tty1.service
tmpfs                                      6575800          4    6575796   1% /run/user/0
root@pve:~#
root@pve:~# pvesm status
Name              Type     Status     Total (KiB)      Used (KiB) Available (KiB)        %
local              dir     active       818760448          121088       818639360    0.01%
local-zfs      zfspool     active       949358820       130719428       818639392   13.77%
nfs-backup         nfs     active      8742400000      5983340544      2757483520   68.44%
pbs-local          pbs     active      1032201728       481278464       550923264   46.63%
pbs-nas            pbs     active      1036085120       937045760        99039360   90.44%
zfs-pool       zfspool     active      7667187712      2364680580      5302507132   30.84%

Environment

  • Home Assistant version: 2026.5.4
  • SMART Sniffer integration version: 0.5.13
  • Agent version: (check with curl http://<host>:9099/api/health) 0.5.13
  • Agent OS: (e.g., Proxmox, Ubuntu, macOS, Windows) Proxmox
  • Drive type: (ATA/SATA SSD, ATA/SATA HDD, NVMe, USB) NVMe and HDD

Logs
Relevant logs from Home Assistant (Settings → System → Logs, filter for smart_sniffer) and/or the agent (journalctl -u smartha-agent).

root@pve:~# journalctl -u smartha-agent
May 28 10:51:53 pve systemd[1]: Started smartha-agent.service - SMART Sniffer Agent — disk health REST API.
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 using smartctl: /usr/sbin/smartctl (version 7.5)
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 SMART Sniffer Agent v0.5.13
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 smartctl version: 7.5
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 Drives detected: 4
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 Listening on: 0.0.0.0:9099
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 Auth: disabled
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 mDNS: enabled (interface: vmbr0)
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 Standby mode: standby
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 first poll: using --scan-open for protocol detection, waking drives for S>
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 cache refreshed: 4 drive(s)
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 Filesystem monitoring: 2 mount(s)
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 mDNS: interfaces: interface vmbr0
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 mDNS: preferred IP: 192.168.20.10
May 28 10:51:53 pve smartha-agent[274986]: 2026/05/28 10:51:53 mDNS: advertising smartha-pve._smartha._tcp.local. on port 9099
May 28 11:21:54 pve smartha-agent[274986]: 2026/05/28 11:21:54 cache refreshed: 4 drive(s)
May 28 11:51:54 pve smartha-agent[274986]: 2026/05/28 11:51:54 cache refreshed: 4 drive(s)
May 28 12:21:54 pve smartha-agent[274986]: 2026/05/28 12:21:54 cache refreshed: 4 drive(s)

Let me know if you need anymore information - or if I have just configured it incorrecly!

P.S. This integration is just what I was looking for, thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions