Skip to main content

hdparam

hdparm -I /dev/sda  # 磁盘信息
hdparm -Tt /dev/sda # 磁盘性能
hdparmfor
-tdevice reads test
-Tcache reads test
-Wtoggle write cache
-B 0-255Advanced Power Management
-S 1-240standby (spindown) timeout
-MAutomatic Acoustic Management

FAQ

HDIO_GET_IDENTITY failed: Not a tty

SG_IO: bad/missing sense data

SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 18 00 00 00 00 20 00 00 c0 00 00 00 00 f8 21 00 00 00 00 00 00 00 00 00 00
sg_decode_sense 70 00 05 00 00 00 00 18 00 00 00 00 20 00 00 c0 00 00 00 00 f8 21 00 00 00 00 00 00 00 00 00 00