Mit sdparm lassen sich alle Festplattenparameter auslesen.
apt-get install sdparm
root@server:~# sdparm /dev/sdb /dev/sdb: ATA SAMSUNG HD502IJ 1AA0 Read write error recovery mode page: AWRE 1 ARRE 0 PER 0 Caching (SBC) mode page: WCE 1 RCD 0 Control mode page: SWP 0
Seriennummer:
root@server:~# sdparm --inquiry /dev/sdb /dev/sdb: ATA SAMSUNG HD502IJ 1AA0 Device identification VPD page: Addressed logical unit: designator type: vendor specific [0x0], code set: ASCII 00 53 31 33 54 4a 31 42 51 36 30 31 32 38 31 20 20 S13TJ1BQ601281 10 20 20 20 20 designator type: T10 vendor identification, code set: ASCII vendor id: ATA vendor specific: SAMSUNG HD502IJ S13TJ1BQ601281
Caching Mode Seite:
root@server:~# sdparm --page=ca /dev/sdb /dev/sdb: ATA SAMSUNG HD502IJ 1AA0 Caching (SBC) mode page: IC 0 ABPF 0 CAP 0 DISC 0 SIZE 0 WCE 1 MF 0 RCD 0 DRRP 0 WRP 0 DPTL 0 MIPF 0 MAPF 0 MAPFC 0 FSW 0 LBCSS 0 DRA 0 NV_DIS 0 NCS 0 CSS 0