Solved

Linux (XenServer) Input/Output Error

Posted on 2010-09-08
6
1,856 Views
Last Modified: 2013-11-11
Greetings,

I was happily coding along yesterday when my virtualized web server stopped responding to requests.  I SSHed into the host and got the following error:

 bash: /sbin/reboot: Input/output error

I had to restart using

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

Once the server restarted, the system seemed to work OK.  But what's going on?  Is there a hard drive failure imminent?  How can I tell?
0
Comment
Question by:asaivan
6 Comments
 
LVL 6

Accepted Solution

by:
rpassero earned 500 total points
ID: 33637749
It's certainly not a good sign that your system is unable to load /sbin/reboot from the HDD...it could certainly be indicative of a pending disk failure.

Check it out with fsck: http://adminschoice.com/repairing-unix-file-system-fsck 
0
 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33671110
Have you searched the system logs for clues?
0
 
LVL 9

Author Comment

by:asaivan
ID: 33673869
/var/log/messages was untelling...

Do you have any other ideas where I might find some clues?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 18

Expert Comment

by:TobiasHolm
ID: 33680403
No. I'd look in allt the logs that's available. If I didn't find anything there I wouldn't have a clue.
0
 
LVL 1

Expert Comment

by:pfc_it
ID: 33945709
Try a grep "|error" /var/log/* > errors.log

Then vi /var/log/errors.log
0
 
LVL 9

Author Closing Comment

by:asaivan
ID: 34021842
Thanks for the help...
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question