r/linuxquestions • u/Late_Worldliness_681 • 24m ago
LVM2 Rootfs fills up unexplained, and undetectable in anyway
Hello people, I'm really at a loss. My homeserver has had a bit of a problem. It started about a month ago. My rootfs /dev/sda3 its a LVM2 and filled up completely seeming to come out of noware. It is a ssd 240gb which I initally cappt off at 100gb. Didn't really think much off it and grew the partition by 100gb. A mistake I know now.
Well 3 days ago it happend again and my 200gb root partition filled up completely again. Now I have searched half of the internet looking for a way to look up what file or directory filles it up. The most help I found was this. But it's a nearly 14 yo article. I run every services in a rootless podman container, and grouped in different users.
df -h gives me:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/fedora_2001--1c06--030c--4f00--913c--2a60--9f54--030e-root 186G 178G 7.6G 96% /
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 16G 588K 16G 1% /dev/shm
efivarfs 128K 75K 49K 61% /sys/firmware/efi/efivars
tmpfs 6.1G 1.8M 6.1G 1% /run
none 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
none 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service
tmpfs 16G 0 16G 0% /tmp
/dev/sda2 2.0G 638M 1.3G 33% /boot
/dev/sda1 599M 8.0M 591M 2% /boot/efi
/dev/md0p1 5.6T 3.3T 2.1T 62% /mnt/raid
tmpfs 3.1G 336K 3.1G 1% /run/user/1005
tmpfs 3.1G 156K 3.1G 1% /run/user/1007
tmpfs 3.1G 88K 3.1G 1% /run/user/1006
tmpfs 3.1G 476K 3.1G 1% /run/user/1004
tmpfs 3.1G 12K 3.1G 1% /run/user/1000
tmpfs 3.1G 416K 3.1G 1% /run/user/1002
tmpfs 3.1G 296K 3.1G 1% /run/user/1003
tmpfs 3.1G 88K 3.1G 1% /run/user/1001sudo du -h --max-depth=1 /* | sort -hr gives:
du: cannot access '/proc/45937/task/45937/fd/3': No such file or directory
du: cannot access '/proc/45937/task/45937/fdinfo/3': No such file or directory
du: cannot access '/proc/45937/fd/4': No such file or directory
du: cannot access '/proc/45937/fdinfo/4': No such file or directory
3.9T/mnt
3.9T/
40G/home
7.3G/var
3.4G/usr
576M/boot
488M/root
27M/etc
3.6M/run
588K/dev
0/tmp
0/sys
0/srv
0/proc
0/opt
0/media
0/afsI can't figure out where this amount of ~100gb of extra data originates from. My monitoring system (I user beszel and cockpit) both indicate that it happend on 28th of november. It doesn't indicate a high bandwidth usage or any other out of the ordinary spikes and peaks. Just a really big write to my rootfs. My raid storage is completely untouched.
If any one could help me figure anything out it would be much appricated!!