Sunday, August 26, 2012

hdparm - Sorage Device Configuration Tool

Official Website: hdparm

hdparm is a powerful and open source storage device configuration tool under Unix/Linux system. Here are the parameters I frequently used.

  • Identify Devicehdparm -I /dev/sdb
  • SecureErase hdparm --user-master u --security-set-pass p /dev/sdb
    hdparm --user-master u --security-erase p /dev/sdb
    hdparm --user-master u --security-unlock p /dev/sdb
    hdparm --user-master u --security-disable p /dev/sdb
  • Set Maximum Sector (84GB / 128GB)

    hdparm -N p164115504 --yes-i-know-what-i-am-doing /dev/sdb

No comments:

Post a Comment