LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bad drive? Bus error - I/O error (https://www.linuxquestions.org/questions/linux-newbie-8/bad-drive-bus-error-i-o-error-4175457636/)

Reignfire 04-10-2013 06:57 AM

Bad drive? Bus error - I/O error
 
Hi,

I have a webserver with mysqldb when suddenly the mysql stopped working. I SSH'ed into the server and checked the status of the server and tried to restart it but it said:

Code:

bash: /etc/init.d/mysqld: Input/output error
If i run 'dmesg' all i get is:

Code:

sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device
sd 0:0:0:0: rejecting I/O to offline device

And when i do: 'df -h' i says: 'Bus error'.

I didn't reboot the server yet cause i first want to know for sure there's nothing more i can do.

I hope i can fix this is a way cause the website is still running only the mysql is down.

jpollard 04-10-2013 12:00 PM

It is reporting as a bad root drive... but it is possible the cable just needs to be unplugged and plugged in again.

It is a bit unusual for a drive to just "go offline" unless it either looses power, or gets unplugged. Other failures have a different report - the drive gets I/O errors, and you get told about a read failure (or more often, a write failure).

But this happens to be your root drive, so I think everything has been hung, and things only seem to be working if they happen to be in memory buffers.


All times are GMT -5. The time now is 03:14 PM.