1

This question already has an answer here:

I'm new in linux, Today I've logged in to my server and found that my 2TB drive is 95% full, which sounds incredible, and all services are down, the only access I have right now is SSH, I did try to find where are this files using df -H it show me in: /dev/vda1 , but going trough all folders will take ages.

how can I find easily where are the files and what causes the issue?

marked as duplicate by Gilles, Satō Katsura, countermode, GAD3R, Jeff Schaller Jan 13 '17 at 16:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

All you need is

du -msh /*

it will shows which directory, then follow the biggest size, for instance:

du -msh /var/*

then

du -msh /var/www/*

so on..

The reason can be anything, from upload of some files by users if you have them to log files caused by some error etc.

Not the answer you're looking for? Browse other questions tagged or ask your own question.