Disk size mismatch in '/admin/system_info' for on-premise

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

The '/admin/system_info' page shows a disk size of 100GB, but the partition has 118GB.

Steps to reproduce

What is the current bug behavior?

The '/admin/system_info' page shows a partition size of 100GB in /dev/loop1:

image

but that partition has 118GB:

image

What is the expected correct behavior?

To show 120GB in '/admin/system_info' page for the /dev/loop1 partition.

Relevant logs and/or screenshots

The ones already attached

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information
System:
Current User:   git
Using RVM:      no
Ruby Version:   2.7.6p219
Gem Version:    3.1.6
Bundler Version:2.3.15
Rake Version:   13.0.6
Redis Version:  6.2.7
Sidekiq Version:6.5.7
Go Version:     unknown

GitLab information
Version:        15.6.2
Revision:       2d7e4701985
Directory:      /opt/gitlab/embedded/service/gitlab-rails
DB Adapter:     PostgreSQL
DB Version:     12.12
URL:            https://intranet.4set.es:9009
HTTP Clone URL: https://intranet.4set.es:9009/some-group/some-project.git
SSH Clone URL:  git@intranet.4set.es:some-group/some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        14.13.0
Repository storage paths:
- default:      /var/opt/gitlab/git-data/repositories
GitLab Shell path:              /opt/gitlab/embedded/service/gitlab-shell

Results of GitLab application Check

Expand for output related to the GitLab application check

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 14.13.0 ? ... OK (14.13.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Reply by email is disabled in config/gitlab.yml

Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units) Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has ne ither init script nor systemd units) Projects have namespace: ... 7/8 ... yes 7/10 ... yes 6/12 ... yes 8/13 ... yes 8/14 ... yes 5/16 ... yes 12/17 ... yes 12/18 ... yes 12/19 ... yes 5/23 ... yes 5/24 ... yes 5/26 ... yes 5/27 ... yes 12/28 ... yes 4/29 ... yes 18/30 ... yes 37/31 ... yes 31/32 ... yes 31/33 ... yes 32/34 ... yes 38/35 ... yes 22/36 ... yes 32/37 ... yes 37/38 ... yes 67/39 ... yes 12/40 ... yes 29/41 ... yes 33/42 ... yes 31/43 ... yes 35/45 ... yes 35/46 ... yes 39/47 ... yes 7/48 ... yes 7/49 ... yes 39/50 ... yes 33/51 ... yes 33/52 ... yes 33/53 ... yes 33/54 ... yes 42/55 ... yes 28/56 ... yes 46/58 ... yes 48/66 ... yes 31/67 ... yes 53/68 ... yes 39/69 ... yes 19/70 ... yes 67/71 ... yes 2/72 ... yes 4/73 ... yes 67/74 ... yes 4/75 ... yes 69/76 ... yes 5/77 ... yes 70/78 ... yes 72/79 ... yes 74/80 ... yes 75/81 ... yes 71/82 ... yes 65/83 ... yes 74/87 ... yes 25/88 ... yes 19/89 ... yes 151/91 ... yes Redis version >= 6.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.6) Git user has default SSH configuration? ... yes Active users: ... 17 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes

Edited by 🤖 GitLab Bot 🤖