You can use the hdparm
utility to find the SATA link speed of a hard disk in Linux. Here’s how:
-
Open a terminal window.
-
Run the following command:
sudo hdparm -I /dev/sda | grep "SATA revision"
(replace/dev/sda
with the appropriate device name for your hard disk). -
The output will show the SATA revision, which corresponds to the SATA link speed. For example:
SATA revision: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
In this example, the hard disk supports SATA 3.0, with a current speed of 3.0 Gb/s. The possible values for SATA revision are SATA 1.0 (1.5 Gb/s), SATA 2.0 (3.0 Gb/s), and SATA 3.0 (6.0 Gb/s).