Re: hdparm almost burned my SATA disk

From: Mark Lord
Date: Mon Oct 17 2005 - 15:49:14 EST


J.A. Magallon wrote:

I was trying hdparm -tT on a SATA disk, it did the buffered part OK,
and hanged my box in the non-buffered measure. After waiting some minutes,
I did a SysRQ-s-u-b, and the the disk began to give many read errors on
sectors and could not boot because journal was not present and many other
errors.

After some warm and cold boots, finally the box came up correctly.
I suspect that something that hdparm did left my disk dumb. But what ?

Nope. hdparm simply does a bunch of read() system calls to fetch
data from the drive, same as any other code might do it.

I think you should use the smartmontools to check the drive error logs
and find out what REALLY happened there.

-ml
-
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/