Solved Arch Linux: df always returns same values

Solved issue

AKM123

New Member
Joined
May 14, 2022
Messages
14
Reaction score
0
Credits
146
On my Arch system, running df -h always returns the following values:

Code:
[user@archlinux ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p2  916G   42G  828G   5% /
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs           7.7G     0  7.7G   0% /dev/shm
tmpfs           3.1G  9.3M  3.1G   1% /run
/dev/nvme0n1p1  510M   67M  444M  13% /boot
tmpfs           7.7G   40K  7.7G   1% /tmp
tmpfs           1.6G   36K  1.6G   1% /run/user/1000
[user@archlinux ~]$ sudo pacman -Sc
Packages to keep:
  All locally installed packages

Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] y
removing old packages from cache...

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
[user@archlinux ~]$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/nvme0n1p2 959786032 36665912 874291912   5% /
devtmpfs            4096        0      4096   0% /dev
tmpfs            8014828        0   8014828   0% /dev/shm
tmpfs            3205932     9464   3196468   1% /run
/dev/nvme0n1p1    522224    67864    454360  13% /boot
tmpfs            8014832       40   8014792   1% /tmp
tmpfs            1602964       36   1602928   1% /run/user/1000
[user@archlinux ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p2  916G   35G  834G   5% /
devtmpfs        4.0M     0  4.0M   0% /dev
tmpfs           7.7G     0  7.7G   0% /dev/shm
tmpfs           3.1G  9.3M  3.1G   1% /run
/dev/nvme0n1p1  510M   67M  444M  13% /boot
tmpfs           7.7G   40K  7.7G   1% /tmp
tmpfs           1.6G   36K  1.6G   1% /run/user/1000

This has been the case for as long as I have been using this installation of Arch Linux. I've installed and uninstalled plenty of software, upgraded many times, cleared the cache, etc., and yet the values are always identical.
 




Top