Re: Detecting disk I/O errors

From: Erik Mouw
Date: Mon Dec 18 2006 - 08:42:46 EST


On Mon, Dec 18, 2006 at 02:05:41PM +0100, Olivier Galibert wrote:
> 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

--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/