The hdparm Command
The hdparm
utility can be used by root to set and tune the settings for IDE hard drives. You would do this to tune the drives for optimal performance. After previously requiring a kernel patch and installation of associated support programs, the hdparm
program is now included with Ubuntu. You should only experiment with the file systems mounted read-only because some settings can damage some file systems when used improperly. The hdparm
command also works with CD-ROM drives and some SCSI drives.
The general format of the command is this:
matthew@seymour:~$ hdparm command device
The following command runs a hard disk test:
matthew@seymour:~$ hdparm –tT /dev/hda
You ...
Get Ubuntu Unleashed 2014 Edition: Covering 13.10 and 14.04,Ninth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.