-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Disk usage in docker / MacOS is incorrect #253
Comments
Yeah, I'd say so. Unfortunately I don't have a Mac device to troubleshoot myself. Please restart the agent with From a quick google it looks like this may be an issue with how Docker works on MacOS: https://forums.docker.com/t/macos-docker-bind-mount-reports-incorrect-free-space/137982/4 Can you test with the binary agent to see if it has the same problem? I think you would add |
Thank you for the recommendation; however I am using OrbStack after evaluating several options for my day job we found that OrbStack was the best cost/$. |
@henrygd thank you for your response. Please find my troubleshooting steps below: Env Var Debug Logging
Here is a prettied / decoded disk partitions: [
{
"device": "/dev/vdb1",
"mountpoint": "/etc/resolv.conf",
"fstype": "btrfs",
"opts": [
"rw",
"noatime",
"bind"
]
},
{
"device": "/dev/vdb1",
"mountpoint": "/etc/hostname",
"fstype": "btrfs",
"opts": [
"rw",
"noatime",
"bind"
]
},
{
"device": "/dev/vdb1",
"mountpoint": "/etc/hosts",
"fstype": "btrfs",
"opts": [
"rw",
"noatime",
"bind"
]
}
] And Diskstats:
Binary Agent |
Thanks! It looks like the dockerized agent can't see the underlying device for Can you paste your output of Temperature sensors populate in Docker on Linux, so I think that's another issue that's specific to Docker on MacOS.
|
Running into this same problem and thought I'd share my experience in case it's helpful. I'm trying to use Beszel Agents to report on several Macs around the building, reporting back to a Beszel Server running on Ubuntu Server and Docker on an Intel NUC. Mac Studio M1 Max running Ventura 13.6.4, Docker Desktop 4.38.0, Beszel 0.9.0. I have a 1TB external volume SSD that Apple Disk Utility reports as having 999.86GB capacity with 583.87GB used. Installed Beszel via Docker and set up a bind mount to the external volume, it shows a total capacity of 173TB with no usage. Tried copying an 100GB file from a network share to the external volume, it shows no I/O when copying. Unrelated to this exact issue but it also shows no bandwidth network traffic during this copy. As you advised on this thread, I have installed the binary agent to try. It shows a much more correct Disk Usage (931GB capacity with 543.77GB used) but still shows no disk I/O during a copy. Bandwidth network traffic is correct. As such, I will be looking at making a launchd .plist to get this running as a service on my systems, though it would be nice to have Docker working as it's installed on the systems anyway! |
Thanks, that's very helpful! I'll try using a Mac cloud provider like Scaleway at some point to troubleshoot these problems. Please see here for a working plist example: #276 (comment) Homebrew support is in the roadmap. |
I have an agent running on macOS 15.1 / docker (orbstack). I have a USB drive mounted in the extra-filesystems.
Beszel (0.7.2 agent and hub) is reporting a VASTLY incorrect disk usage:


The text was updated successfully, but these errors were encountered: