I’m using Amazon Linux EC2 AMI, recently I’m getting this error “barrier-based sync failed” every 10 days.
Running Services
Apache
MySQL
Memcached Server
PHP
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This isn’t an error message.
It is an informative log message which indicate that the hardware (or the storage driver) does not support cache flush command. These messages occur normally.
To stop the log message from being logged,
either remount the filesystem using the nobarrier option.
E.g.
mount -o remount,nobarrier /dev/path /path/tomountpointor pass the optionbarrier=offto the kernel on boot.See here and here for more information.