Out of space - CentOS and MySQL

Started by millerpaint, July 17, 2017, 07:08:35 PM

Previous topic - Next topic

millerpaint

Greetings,

I am out of disk space on the NetXMS CentOS volume; and it is not the MySQL logs.  Does anyone have ideas on what to check first?


-Kevin C.

lindeamon

run "du -h", it should display a tree of folders and their disk usage.
when you find the problematic folder, run "ls -lha" to see all files and their size

millerpaint

Hi,

I ran du -h, and the only thing it came back with was "116K".


-Kevin C.


millerpaint

OK, good news:

This command worked, with more parameters:

du -h --max-depth=1 | sort -n

I see now the problem is in /var/lib/mysql/

110516876 netxxx.millerxxx.com.err

This seems to be an error file, that is now massive?


-Kevin C.