Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

how to check linux for I/O errors ?

SOLVED
Go to solution
'chris'
Super Advisor

how to check linux for I/O errors ?

hi

knows someone,
how to check linux for I/O errors ?

regards
chris
3 REPLIES
Jean-Pierre Denis
Valued Contributor

Re: how to check linux for I/O errors ?

Hi,

I/O errors would be displayed in /var/log/syslog or other log files.

Disk I/O errors would look like this:
Aug 8 06:40:09 linux kernel: I/O error: dev 0b:00, sector 64
Aug 8 06:40:09 linux kernel: I/O error: dev 0b:00, sector 88
Aug 8 06:40:09 linux kernel: I/O error: dev 0b:00, sector 64
Aug 8 06:40:09 linux last message repeated 8 times
Aug 8 11:05:54 linux kernel: I/O error: dev 0b:00, sector 64
Aug 8 11:05:54 linux last message repeated 9 times

Thanks,
JP
Open your Mind and use Open Source software...
'chris'
Super Advisor

Re: how to check linux for I/O errors ?

hi

there is it not any command from shell
to run the disk check for I/O errors ???

any other idea ?

best regards
chris
Huc_1
Honored Contributor
Solution

Re: how to check linux for I/O errors ?

The error are logged in logs in /var/log

a way to see then interactively would be

tail -f /var/log/messages

have this running in one session and submit io intensive task in an other ( ex: like ls -lR /* )

there are a few other command related to io

# iostat 1 5

would display io statistics 5 time at 1 sec interval (also informe on page in page out)

sar -d ! display's output/input stat on device

the best is man of iostat sar

hope this helps.

J-P




Smile I will feel the difference