Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gnome-disk-utility gnome-disk-utility
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 180
    • Issues 180
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gnome-disk-utilitygnome-disk-utility
  • Issues
  • #146
Closed
Open
Created Aug 08, 2019 by Michael Catanzaro@mcatanzaroDeveloper

Displays reserved space as free space

Moving this from https://pagure.io/fedora-workstation/issue/101, look at how much space I have free on /home and /:

2d82d12faf5ac474f1819121f8468e02508bc14f3608e0be4744611adceb9087-Screenshot_from_2019-08-08_08-49-21

7a6f75a465333df813d3760acc3fa5544e0ac2d85aed4af35d1987a16c7e330d-Screenshot_from_2019-08-08_08-49-24

I noticed the display of free space is different than reported by nautilus and originally thought it was a nautilus bug, but nautilus agrees with df. Assuming df isn't broken, which seems safe, that means Disks is somehow wrong.

Disks reports my / is 75 GB (correct, assuming df rounds down to 74 GB and Disks rounds up) with 27 GB free, but actually I have 24 GB free, as reported by df (too big to be a rounding difference). It reports my /home is 924 GB (incorrect, df says 909 GB) with 687 GB free (incorrect, df says 641 GB free).

Notably, 687 GB is ~640 GiB, so if there's not some unit conversion error here, that would be an amazing coincidence. The result is as if the result were computed in GB, then converted from GiB to GB by mistake, given that the value was already in GB. So probably a bad unit conversation somewhere.

Here are my results from df in GB:

$ df -H
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                  34G     0   34G   0% /dev
tmpfs                     34G     0   34G   0% /dev/shm
tmpfs                     34G  2.3M   34G   1% /run
tmpfs                     34G     0   34G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   74G   47G   24G  67% /
tmpfs                     34G  7.7M   34G   1% /tmp
/dev/nvme0n1p2           1.1G  227M  727M  24% /boot
/dev/mapper/fedora-home  909G  222G  641G  26% /home
/dev/nvme0n1p1           210M   19M  191M   9% /boot/efi
tmpfs                    6.8G   20M  6.8G   1% /run/user/1000

Same results except in GiB:

$ df -h
Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                  32G     0   32G   0% /dev
tmpfs                     32G     0   32G   0% /dev/shm
tmpfs                     32G  2.2M   32G   1% /run
tmpfs                     32G     0   32G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   69G   44G   22G  67% /
tmpfs                     32G  7.3M   32G   1% /tmp
/dev/nvme0n1p2           976M  217M  693M  24% /boot
/dev/mapper/fedora-home  846G  206G  597G  26% /home
/dev/nvme0n1p1           200M   18M  182M   9% /boot/efi
tmpfs                    6.3G   19M  6.3G   1% /run/user/1000
Edited Aug 08, 2019 by Michael Catanzaro
Assignee
Assign to
Time tracking