MySQL troubleshooter Got error from storage Engie

Source: Internet
Author: User
Tags disk usage

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.