Bug 49231 - /etc/sysconfig/harddisks sets same parameters for all hard-disks
/etc/sysconfig/harddisks sets same parameters for all hard-disks
Product: Red Hat Linux
Classification: Retired
Component: hdparm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2001-07-17 04:42 EDT by Need Real Name
Modified: 2007-04-18 12:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-17 04:42:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-07-17 04:42:33 EDT
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

Actual Results:
System freeze

Expected Results:
Optimal hard-disk tunning

Additional Information:
/etc/sysconfig/harddisks should have sections for each hard-disk


Comment 1 Karsten Hopp 2001-07-17 06:02:05 EDT
/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.

Note You need to log in before you can comment on or make changes to this bug.