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