Page 1 of 1
Root filesystem filling up
Posted: 2020/05/22 18:13:21
by JackBauer
Hello,
How can I find what is filling up my root filesystem???
du -h --max-depth=1 is not enough
Thanks
Re: Root filesystem filling up
Posted: 2020/05/22 18:49:33
by jlehtone
What do you mean by "not enough"?
Code: Select all
du --max-depth 1 -x -m / | sort -n
Re: Root filesystem filling up
Posted: 2020/05/22 19:57:32
by JackBauer
Takes too long and shows many mount points that do not belong to /
Re: Root filesystem filling up
Posted: 2020/05/22 22:47:20
by jlehtone
With the -x ?
Re: Root filesystem filling up
Posted: 2020/05/23 01:20:25
by Whoever
JackBauer wrote: ↑2020/05/22 19:57:32
Takes too long and shows many mount points that do not belong to /
You need to run it as root. You did this, right?
Re: Root filesystem filling up
Posted: 2020/05/23 06:34:18
by JackBauer
Did not try with -x, will try in a bit.
Re: Root filesystem filling up
Posted: 2020/05/24 07:53:40
by JackBauer
The command seems to work pretty well, thanks.
And something with find?
For example, finding big files created in the last 24 hours in /???
Thanks
Re: Root filesystem filling up
Posted: 2020/05/24 09:05:43
by JackBauer
Whoever wrote: ↑2020/05/23 01:20:25
JackBauer wrote: ↑2020/05/22 19:57:32
Takes too long and shows many mount points that do not belong to /
You need to run it as root. You did this, right?
Yes sure!
Re: Root filesystem filling up
Posted: 2020/05/24 10:01:23
by jlehtone
Not sure about the "24h", but something like:
Code: Select all
find / -xautofs -xdev -mtime -1 -size +1G -ls
Re: Root filesystem filling up
Posted: 2020/05/24 14:04:05
by TrevorH
The find command also takes -mmin $mins