Identify SATA Drives With hdparm

Read a drive's model, firmware, capabilities and current settings.

LinuxhardwarediskDiagnosticsMedium risk
Run sudo hdparm -I /dev/sda to print the ATA identification block.

01Command

Command
$ sudo hdparm -I /dev/sda

02What it does

hdparm -I queries the drive directly for model, serial, firmware, supported transfer modes and enabled features, which is useful when auditing hardware or diagnosing slow links. It is a low-level query that only the terminal exposes cleanly.

03Risk

RiskMedium risk
Requirementssudo apt install hdparm
!Warning: Only use read-style options such as -I; write options can change drive behaviour and risk data.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-10-13 · Category: System & Settings

06Related solutions