hello,
in my revPi the dev/root is full and i have turned it upside down to find big files, or cache or logs but nothing seems to be big enough to make sense of this.
Has anyone seen this before?
dev/root is full but no large fils
dev/root is full but no large fils
- Attachments
-
- ρεωπι.PNG (836.35 KiB) Viewed 6696 times
-
- revpi2.PNG (153.93 KiB) Viewed 6696 times
Re: dev/root is full but no large fils
Hi Nick,
probably some logs or packages are using up the (limited) disk space. In your last screenshot you're only searching for files in the home directory. If you extend your search to the root filesystem / you will get a better picture. Please note that this requires root privileges as many files have restricted access.
Nicolai
probably some logs or packages are using up the (limited) disk space. In your last screenshot you're only searching for files in the home directory. If you extend your search to the root filesystem / you will get a better picture. Please note that this requires root privileges as many files have restricted access.
Nicolai
Re: dev/root is full but no large fils
Dear Nick,
You can search for the culprit systematically by running the du command. Here is what I do: I go to the file system root (cd /) and then run "sudo du -ks * | sort -n | tail -5". This gives me files or directories that are the largest. Then I go into the directory that has the largest content and repeat the process (/usr in my case, you may see different results).
The errors about /proc can be ignored. /proc is a dynamic file system and will change as it gets read.
At any rate, this should walk you to the right place quite quickly.
Kees Jan
You can search for the culprit systematically by running the du command. Here is what I do: I go to the file system root (cd /) and then run "sudo du -ks * | sort -n | tail -5". This gives me files or directories that are the largest. Then I go into the directory that has the largest content and repeat the process (/usr in my case, you may see different results).
Code: Select all
$ cd /
$ sudo du -ks * | sort -n | tail -5
du: cannot access 'proc/24053/task/24053/fd/3': No such file or directory
du: cannot access 'proc/24053/task/24053/fdinfo/3': No such file or directory
du: cannot access 'proc/24053/fd/3': No such file or directory
du: cannot access 'proc/24053/fdinfo/3': No such file or directory
42968 opt
48284 run
90736 home
2773428 var
3031548 usr
$ cd usr
$ sudo du -ks * | sort -n | tail -5
85948 libexec
175032 src
407720 bin
720224 share
1593232 lib
$ _
At any rate, this should walk you to the right place quite quickly.
Kees Jan
Re: dev/root is full but no large fils
Hi Kees Jan, many thanks for this answer here. I've got a problem with finding large files as well, and your flow worked perfect. Have a nice day!