Hello all.
I am facing some “issues” regarding the disk space used on my machine.
I am using a Asus Laptop with Fedora 39 and a 512GB NVMe Disk.
The output of df -h shows that 186GB are used and the output of du -sh / shows that 67GB are used.
Can someone explain to me why there is such a difference and if there is anything I can do to fix it?
Thank you.
ntoufoudis@fedora:~$ sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/nvme0n1p3 476G 186G 194G 49% /
devtmpfs 4,0M 0 4,0M 0% /dev
tmpfs 7,5G 103M 7,4G 2% /dev/shm
efivarfs 128K 53K 71K 43% /sys/firmware/efi/efivars
tmpfs 3,0G 6,9M 3,0G 1% /run
/dev/nvme0n1p3 476G 186G 194G 49% /home
tmpfs 7,5G 4,0K 7,5G 1% /tmp
/dev/nvme0n1p2 974M 353M 554M 39% /boot
/dev/nvme0n1p1 599M 7,5M 592M 2% /boot/efi
tmpfs 1,5G 3,8M 1,5G 1% /run/user/1000
ntoufoudis@fedora:~$ sudo du -sh /
du: cannot access '/proc/17558/task/17558/fd/3': No such file or directory
du: cannot access '/proc/17558/task/17558/fdinfo/3': No such file or directory
du: cannot access '/proc/17558/fd/4': No such file or directory
du: cannot access '/proc/17558/fdinfo/4': No such file or directory
du: cannot access '/run/user/1000/gvfs': Permission denied
du: cannot access '/run/user/1000/doc': Permission denied
du: cannot access '/tmp/.mount_appimafObhBa': Permission denied
67G /