I
I
Igor Krivintsov2017-04-15 19:51:38
linux
Igor Krivintsov, 2017-04-15 19:51:38

How to clean up a Linux drive?

Hello, do you have a zabbix virtual machine? Zabbix recently stopped working and gives the following message a124d1d95f8e43418e3c94cc3a113db0.png
When asked about the amount of free disk space, I found that the disk is 100% busy,
08c73b4a0f6b4ceabbcd4106299d307c.png
tell me how to clear the data on the disk?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
devalone, 2017-04-15
@devalone

Obviously delete unnecessary files.
This command can help, see mana for what it does
sudo du -h -d 1 /

A
Alexey Skobkin, 2017-04-15
@skobkin

Try ncdu.
ncdu /

V
Vadim K, 2017-04-16
@OLQLOSH

Most likely the zabbix database ate all the free space. I propose to dump the database, delete the database, mount another larger virtual disk and place the database there. And also set up data collection in Zabbix, with the default settings, the place is quickly eaten up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question