gdu: -x does not seem to honor filesystem boundaries - 5.10.0
I have the following config
┌──┬─────┬──────────────┬────┬────┬─────┬─────────┬─────┬──────┬──────────────────┐
│id│ dev │ filesystem │disk│type│used │ use% │ free│ size │mount point │
├──┼─────┼──────────────┼────┼────┼─────┼─────────┼─────┼──────┼──────────────────┤
│44│259:5│/dev/nvme3n1 │SSD │xfs │118Mi│ 1% │ 11Gi│11Gi │/var/app-local │
│55│259:2│/dev/nvme5n1 │SSD │xfs │100Mi│ 1% │9.9Gi│10.0Gi│/var/app │
│38│259:7│/dev/nvme0n1p1│SSD │xfs │7.5Gi│75% ███▊ │2.5Gi│10.0Gi│/ │
│42│259:4│/dev/nvme4n1 │SSD │xfs │3.1Gi│35% █▊ │5.9Gi│9.0Gi │/usr/local/app │
│54│259:1│/dev/nvme2n1 │SSD │xfs │568Mi│19% ▉ │2.4Gi│3.0Gi │/var/log │
│43│259:3│/dev/nvme6n1 │SSD │xfs │614Mi│30% █▌ │1.4Gi│2.0Gi │/tmp │
│57│259:3│/dev/nvme6n1 │SSD │xfs │614Mi│30% █▌ │1.4Gi│2.0Gi │/var/tmp │
└──┴─────┴──────────────┴────┴────┴─────┴─────────┴─────┴──────┴──────────────────
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

About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (12 by maintainers)
Ahhh, I see the problem. You are running it without specifing exact path (
/). I will fix it.Thanks @daniejstriata for debugging!
Here it is from one of my servers: