Systemdisk is almost full


Hello, I use Fedora 39 KDE and I see that my /-disk is running full. I had a swapfile but I deleted that, still the 32GB disk only has 5.9GB free.
I have seen 2 files:
/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/resource1 and
/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/resource1_wc which together are 16GB in size.
It means that the rest of the system uses: 32-5.9-16=10.1GB which sounds about right to me
I just noticed the files are equally large: 8.0 GiB (8,589,934,592 bytes). Is one a copy of the other?
What files are they and should they be so large?
Thank you for your help.

The “files” in the /sys are not real disk files and doesn’t affect the available disk space.

To find the big files you can run

du -ah /var |sort -h

where the big files will be at the end of the list.

1 Like

Thank you for your answer. I calculated the size of my /-disk by first selecting every directory on it and then deselecting things like /home, /proc, /sys, /mnt, /media, /dev.
I then have 13.5GB in use which seems fair.
So, discussion closed. Thanks again.