[BUG] Host status Disk metric reports a pseudo-filesystem (squashfs always 100%, efivarfs ~89%)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- observability, operating-systems
Research direction
Start in src/backend/hosts/metrics/widgets/disk-collector.ts and inspect PSEUDO_FS_RE and findWorstMountIndex. Reproduce with mounts containing squashfs or efivarfs, then verify that the Disk metric selects real storage rather than pseudo-filesystems and no longer reports those mounts as the fullest.
Written by the indexing model from the issue text.
Description
Title
Host status Disk metric reports a pseudo-filesystem (squashfs always 100%, efivarfs ~89%)
Platform
Website - Other Browser
Server Installation Method
Docker
Version
2.8.0
Troubleshooting
- I have examined logs and tried to find the issue
- I have reviewed opened and closed issues
- I have tried restarting the application
- I have checked open issues and ensured this is not a duplicate
The Problem
The host-status Disk figure reports a pseudo-filesystem instead of real storage, so it is wrong on two of my hosts in different ways:
- A StartOS server reads Disk 100% permanently. StartOS mounts around 100
squashfsimages (one or more per package container), and a squashfs is 100% full by construction. - An Ubuntu desktop reads ~89%. Its "worst" mount is
efivarfsat/sys/firmware/efi/efivars, which is UEFI NVRAM, not storage. It has no squashfs at all, so it's the same defect by a different route.
Why: In src/backend/hosts/metrics/widgets/disk-collector.ts (unchanged on the 2.8.0 tag) the exclusion list is
const PSEUDO_FS_RE = /^(tmpfs|devtmpfs|overlay|udev|none|shm)$/;
and findWorstMountIndex then reports whichever remaining mount has the highest used/total. squashfs and efivarfs aren't excluded, so they win the maximum.
Suggested fix: Widen the exclusion, e.g. squashfs|efivarfs|ramfs|proc|sysfs|cgroup2?|debugfs|securityfs|pstore|configfs|fusectl|bpf|tracefs, or better, consider only mounts backed by a real block device.
A related caution, if the figure is ever meant to be exact: on btrfs, df reports usage of allocated chunks, not of the device. My server's pool showed 98.56% used while ~570 GiB of its 1.81 TiB was still unallocated. btrfs filesystem usage gives the honest number.
How to Reproduce
- Add a host whose mounts include a
squashfs(any snap-using Ubuntu, or StartOS) or anefivarfs(any UEFI Linux). - Open its host status. Disk shows the fullest pseudo-filesystem (100% for squashfs) rather than real storage.
Additional Context
Not a duplicate of #977, #1046 or #1067, which were about which real mounts are counted. Originally filed as Termix-SSH/Termix#1467, which was closed and redirected here. Also sent by email to [email protected] on 2026-09-22.
- Dominant language
- No language data
- Stars
- 28
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Termix-SSH/Support
-
auth bug good-first-issue platform-docker platform-web
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Termix-SSH/Support#1373 · 1 comment ·
-
bug good-first-issue platform-docker platform-web rdp-vnc
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Termix-SSH/Support#1370 · 1 comment ·
-
bug platform-desktop platform-docker platform-macos ssh
Difficulty 3/5 1-2 days Newbie friendliness 55/100
Termix-SSH/Support#1375 · 1 comment ·
-
bug host-metrics performance platform-docker platform-linux platform-web ssh
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Termix-SSH/Support#1374 · 1 comment ·
-
bug platform-ios platform-mobile rdp-vnc
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Termix-SSH/Support#1372 · 4 comments ·
All issues in Termix-SSH/Support
Similar issues
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 76/100
open-telemetry/opentelemetry-python-genai#831 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Practitionist/familiarise_web#1916 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
braintrustdata/braintrust-sdk-javascript#2552 ·
Maintainers usually reply within 1 day
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kyverno/kyverno#17810 · 1 reaction ·
Maintainers usually reply within 1 day
-
enhancement processor/drain
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
open-telemetry/opentelemetry-collector-contrib#51677 · 1 comment ·
Maintainers usually reply within 1 day