1, first look at the disk usage, it is clear that the disk/dev/sda2 is taking up a slow usage rate 100%
[email protected] embarrassed/]# df-h
Filesystem Size used Avail use% mounted on
/dev/sda2 20G 19G 0 100%/
Tmpfs 1.9G 0 1.9G 0%/dev/shm
/DEV/SDA1 194M 66M 118M 36%/boot
/dev/mapper/data-data
This time we see/mount on the/dev/sda2
2, Find/root-size +100m This time we found the root directory of more than 100M files
3. Determine if the files are movable or useless
4.
Useless can use rm-f xxxx to delete
Useful but can be moved use the MV xxxx/data/xxxx command to transfer files
5. Check the disk again to see that the disk is free of space
[email protected] embarrassed/]# df-h
Filesystem Size used Avail use% mounted on
/dev/sda2 20G 17G 2.2G 88%/
Tmpfs 1.9G 0 1.9G 0%/dev/shm
/DEV/SDA1 194M 66M 118M 36%/boot
/dev/mapper/data-data
432G 35G 375G 9%/data
6, open MySQL does not prompt error, the program can also run properly
MySQL troubleshooter Got error from storage Engie