Skip to contentSkip to conversation

Detecting disk I/O errors

DISCUSSION Olivier Galibert 2 participants 2 messages Dec 18, 2006

lore
Share & tools
lore
#0 lore raw

Is there a way to know if there has been I/O error(s) on a specific disk or partition since boot other than parsing dmesg and hoping it's both still there and in the expected format?

Of course that's if the error didn't kill the system in the first place :-)

OG.

#1 lore raw
Quoted 3 lines · Olivier Galibert

Is there a way to know if there has been I/O error(s) on a specific disk or partition since boot other than parsing dmesg and hoping it's both still there and in the expected format?

Use smartctl. It can be started in a monitor mode.

Erik

Signature · 2 lines
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands