Root partition FULL

NethServer Version: 6,9
Hello again. I have a new problem.

My root partition is getting full. I do not now why.

It seams that /var/lib/nethserver is taking a lot of space. It only runs as mailserver as a VM machine.

Is it possible that there are to Manny e-mails on the machine?

1 Like

it could be useful to find large file by the command line

 find / -type f -size +200'''M''' -exec ls -lh {} \; | awk '{ print $ ":_" $5 }';

 ‘k’    for Kilobytes (units of 1024 bytes)
 ‘M’    for Megabytes (units of 1048576 bytes)
 ‘G’    for Gigabytes (units of 1073741824 bytes)

else you can find more deeply

du -ah /var/lib/nethserver

and you can count how many files you have in a directory

find //var/lib/nethserver/vmail/ -type f | wc -l

more simply do

tree //var/lib/nethserver/vmail/


I prefer to use the graphical disk usage module.

1 Like

Why investigate only in /var/lib?

I found it. It was an old Owncloud directory. I have own cloud removed a log time ago. Apparently the directory was not removed.

1 Like