There is not enough space and hard disk in the Linux file system, how to troubleshoot?

I am a complete novice to Linux.
has a 20G droplet on Digital Ocean. There is only a small personal blog site on it, so I never worried about running out of 20GB hard drives.
tried to deploy a second small website inside yesterday, upgraded the Ubuntu version (from 12 to 16) and messed up a few other things by the way. But it doesn"t feel like it should take up too many hard drives.
Today, when I went up to add a table to the database of the new website, I was prompted that the hard drive was out of space. Take a look at it with df command:

clipboard.png

inode 10% inode :

clipboard.png

/:

clipboard.png

it doesn"t feel like it can add up to 20 gigabytes.

what should I do next? Thank you in advance.


losf | grep delete take a look


still don't know what takes up such a big hard disk, but try the method here

du /-d 1-h see which directory occupies the most, and then look down in turn

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3c34f-66038.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3c34f-66038.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?