Solved

Linux (XenServer) Input/Output Error

Posted on 2010-09-08
6
1,848 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
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.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now