Large-capacity XFS Exception Handling

Source: Internet
Author: User

Large-capacity XFS Exception Handling today, some data exceptions were found when I checked the alarm. When I logged on to the backup machine to view the File status, I found that the disk space was full and inode was faulty, therefore, all the backup processes are stopped and the problem is checked. First, if the disk space is full, try to delete some files and find that some files cannot be deleted, and the file status is abnormal. Then, copy all the scripts, back up system logs, back up scheduled tasks, and perform various backups. And then start to work. It cannot be deleted. Fortunately, a few of them are quite normal, and the space of GB is restored at last. However, since there are a lot of backups each time, all the backup plans should be stopped first. Take a look at the inode space and release it. Then, detach the disk and attach it. inode is normal, but the above exception still exists. Unable to proceed.
Later, I asked my colleagues in the system group for help. During the handling, I suddenly said that XFS-format partitions may encounter exceptions in the case of large capacity, I suddenly remembered that I had handled another similar machine this year, but the machine was prompted that the disk space was insufficient, but df and df-I both showed that there was no problem, there was a fault with insufficient Life and Death. At that time, an inode64 was added to/etc/fstab, therefore, we tried to add this parameter to the configuration file of this machine, unmount, mount, and finally succeed!
The problem still occurs when XFS supports large disk space. By default, inode files are stored in the first T, therefore, when the disk space usage is large, similar problems may occur. Therefore, we finally decided to add the inode64 parameter to all the machines that use XFS to avoid similar problems from happening again.

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.