Re: hdparm almost burned my SATA disk

Mark Lord
2005-10-17T20:48:58Z

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