Root partition FULL


(Martin) #1

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?

(Stéphane de Labrusse) #2

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/

(Filippo Carletti) #3

I prefer to use the graphical disk usage module.

(Michael Kicks) #4

Why investigate only in /var/lib?

(Martin) #5

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