On 21/03/2019 11.37, jdd@dodin.org wrote:
Le 21/03/2019 à 10:50, Per Jessen a écrit :
On a running system, how do I determine which SATA speed (1.5/3/6) the disk are currently connected at?
I found this: https://www.cyberciti.biz/faq/linux-command-to-find-sata-harddisk-link-speed...
None of the methods described work :-( (dmesg, smartctl, hdparm, /sys/class/ata_link/*/sata_spd ).
The boards have an ICH7R controller which is 3Gbps, so I'm pretty certain about the speed, but surely there is a way to tell?
# hdparm -t /dev/sda
/dev/sda: Timing buffered disk reads: 810 MB in 3.00 seconds = 269.92 MB/sec linux-wacn:/home/jdd # hdparm -T /dev/sda
/dev/sda: Timing cached reads: 26492 MB in 1.99 seconds = 13291.32 MB/sec linux-wacn:/home/jdd #
That's the actual disk speed, not the bus speed. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)