Some hdparm Examples
Be very careful using hdparm – you can easily ruin your harddrive.
hdparm -I /dev/sda — print disk information and current settings
*hdparm -B 128 /dev/sda — set power management to “medium”
*hdparm -B 128 /dev/sda — set power management to “disabled”
hdparm -M 128 /dev/sda — set acoustic management to “quiet”
hdparm -M 254 /dev/sda — set acoustic management to “fast”
hdparm -S 120 /dev/sdb — set 2nd disks standby timeout to 10min
hdparm -y /dev/sdb — set 2nd disk to standby mode
hdparm -t /dev/sda — perform disk read timings
hdparm –security-freeze /dev/sda — Freeze security settings
*Please note: based on Joost’s comment below, it is clear that either the “medium” or “disabled” parameter must be wrong, since they are identical.