Bug 57327
Summary: | hdparm settings limited to 8 disks | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Cormack, Justin <jpc1> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | 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
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. 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... Whoops, yeah, I missed this one when I added the code. This should be fixed in 7.3. Whoops, yeah, I missed this one when I added the code. This should be fixed in 7.3. |