Bug 57327

Summary: hdparm settings limited to 8 disks
Product: [Retired] Red Hat Linux Reporter: Cormack, Justin <jpc1>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: ralston, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-16 19:50:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Cormack, Justin 2001-12-10 15:29:29 UTC
Description of Problem:

the initscripts settings only set hdparm for 8 disks, it would be very
useful to increase this to (say) 16. I often only use master channels on
ide, so this is not really many disks.

Version-Release number of selected component (if applicable):


How Reproducible:


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 James Ralston 2002-03-06 07:16:22 UTC
Another problem with the current code in /etc/rc.d/rc.sysinit: it will only call
hdparm on disks, not cdroms.  Cdrom devices can also benefit by tuning with hdparm.

Long before I realized the /etc/sysconfig/harddisk* logic was in rc.sysinit, I
had patched it to look for files in the /etc/sysconfig/hdparm directory, where
the name of each file corresponded to the device it had settings for.  E.g.:

    /etc/sysconfig/hdparm/hda
    /etc/sysconfig/hdparm/hdc
    [...]

The contents of e.g. /etc/sysconfig/hdparm/hda were:

    HDPARM_ARGS='-d1 -m16 -c1 -A1 -u1 -X66'

IMO, this worked better than the current code in rc.sysinit.

I would be happy to clean up my old patch and give it to you.  If you want, I
can use the same format (more or less) as the existing /etc/sysconfig/harddisk*
files.  I could also add an /etc/sysconfig/hdparm/all file, which would
correspond to the current /etc/harddisks file.

If you (Red Hat) are interested in this, let me know.


Comment 2 James Ralston 2002-07-16 19:50:34 UTC
I believe that as of Red Hat 7.3, both of these problems have been corrected:
the /etc/sysconfig/harddisk* files can be used to set the parameters for up to
20 disks, and the parameters can be applied to any type of device.

I can't close this bug (because I'm not its owner), but IMHO, it should be
closed with CURRENTRELEASE...


Comment 3 Bill Nottingham 2002-07-16 22:18:22 UTC
Whoops, yeah, I missed this one when I added the code. This should be fixed in 7.3.

Comment 4 Bill Nottingham 2002-07-16 22:18:46 UTC
Whoops, yeah, I missed this one when I added the code. This should be fixed in 7.3.