Description of Problem: I have a UDMA hdd and a PIO one. Used to have a different hdparm command in rc.local for each one. I tried to use /etc/sysconfig/harddisks and saw that it sets the same parameters for all hard disks. The PIO one got upset and froze the system. How Reproducible: Every time Steps to Reproduce: 1. Edit /etc/sysconfig/harddisks 2. USE_DMA=1 3. EXTRA_PARAMS=-X662. Actual Results: System freeze Expected Results: Optimal hard-disk tunning Additional Information: /etc/sysconfig/harddisks should have sections for each hard-disk [/dev/hda] USE_DMA=1 EXTRA_PARAMS=-X66 [/dev/hdb] USE_DMA=0
/etc/sysconfig/harddisks sets the default hdparm parameters for all IDE harddisks in you system, that's correct. But if you copy this file to /etc/sysconfig/harddiskhda, you can set parameters for /dev/hda in it. Have a look at the comment in /etc/rc.d/rc.sysinit: # Turn on harddisk optimization # There is only one file /etc/sysconfig/harddisks for all disks # after installing the hdparm-RPM. If you need different hdparm parameters # for each of your disks, copy /etc/sysconfig/harddisks to # /etc/sysconfig/harddiskhda (hdb, hdc...) and modify it. # each disk which has no special parameters will use the defaults.