-
Notifications
You must be signed in to change notification settings - Fork 149
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
-x does not seem to honor filesystem boundaries - 5.10.0 #106
Comments
Could you paste the contents of |
Here it is from one of my servers:
|
Thanks. I don't see a bug there at first glance, will have to dig in deeper. |
@daniejstriata Could you run gdu with logging ( |
|
Interesting, it does not ignore any mounted devices. Have you run it with |
Yes. I ran it with -x |
I have added some more logging. Could you paste the log output again? |
Log:
gdu -d
gdu -x |
Wow, that is really strange. I tried to simulate it locally but without success. |
I tried multiple OSes (Debian, Ubuntu, Arch) but without success to replicate the bug. @daniejstriata which operating system do you use? |
I'm on Centos 7 and 8 with selinux on and off. |
Strange. It works well for me on Debian.
|
I have added some more logging. Could you try once again and paste the log output? |
This is running your binary on Fedora 34. It should've excluded /Data from the results. Could it be ignoring the drives because they are encrypted? That's the only thing I think would be different in my environment to someone else.
sda 8:0 0 931.5G 0 disk |
Ahhh, I see the problem. You are running it without specifing exact path ( |
Thanks @daniejstriata for debugging! |
I have the following config
when I run gdu from / I do not expect to see gdu counting totals for /var/app-local but that is what happens. Here is output from ncdu and gdu. The sizes differ as -x does not seem to work for gdu.
gdu -x
ncdu -x
The text was updated successfully, but these errors were encountered: