Red Hat Bugzilla – Bug 57327
hdparm settings limited to 8 disks
Last modified: 2014-03-16 22:24:41 EDT
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):
Steps to Reproduce:
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.:
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.