Folks, today I ran into a strange problem. Both the root file system and the /home filesystem showed 100% usage:
df -l Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4096 0 4096 0% /dev tmpfs 32793004 0 32793004 0% /dev/shm tmpfs 13117204 2512 13114692 1% /run /dev/nvme0n1p10 283625472 281920988 735540 100% / tmpfs 32793008 11612 32781396 1% /tmp /dev/nvme0n1p10 283625472 281920988 735540 100% /home /dev/nvme0n1p8 463826 258874 176485 60% /boot /dev/nvme0n1p7 487160 14280 472880 3% /boot/efi tmpfs 6558600 196 6558404 1% /run/user/1000 tmpfs 6558600 88 6558512 1% /run/user/0
When I did a du -s of my home directory it showed only 96GB used.
sudo du -s /home/*
96910360 /home/pgaltieri
The problem turned out to be a large file in /usr/local. When I removed this file both / and /home dropped in their usage:
Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4096 0 4096 0% /dev tmpfs 32793004 0 32793004 0% /dev/shm tmpfs 13117204 2616 13114588 1% /run */dev/nvme0n1p10* 283625472 187104116 95417980 67% / tmpfs 32793008 11860 32781148 1% /tmp */dev/nvme0n1p10* 283625472 187104116 95417980 67% /home /dev/nvme0n1p8 463826 258874 176485 60% /boot /dev/nvme0n1p7 487160 14280 472880 3% /boot/efi tmpfs 6558600 204 6558396 1% /run/user/1000
so why are / and /home the same device? In the past / and /home where separate devices. This is for F31
Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 8121488 0 8121488 0% /dev tmpfs 8142632 97596 8045036 2% /dev/shm tmpfs 8142632 2000 8140632 1% /run */dev/mapper/fedora-root* 51475068 36099716 12737528 74% / tmpfs 8142632 171148 7971484 3% /tmp */dev/mapper/fedora-home* 645292064 391044160 221445908 64% /home /dev/sda8 487652 203435 254521 45% /boot /dev/sda1 507904 61176 446728 13% /boot/efi
Paolo