Hide Forgot
Description of problem: /dev/sda is a SSD drive, so i tried to change the elevator just for that device (i also have 4 HDDs) and tried to use the sysctl.conf file first (in a fedoraforum ssd thread), so: # sysctl -a | grep block.sda.queue.scheduler # cat /sys/block/sda/queue/scheduler noop deadline [cfq] # cat /sys/block/sdb/queue/scheduler noop deadline [cfq] # cat /sys/block/sdc/queue/scheduler noop deadline [cfq] # sysctl -w block.sda.queue.scheduler=noop /proc/sys/block/sda/queue/scheduler: No such file or directory So using sysctl to change 'block.sda.queue.scheduler' fails, the file is not there... Maybe the feature is deprecated, removed or other. # echo "noop" > /sys/block/sda/queue/scheduler # cat /sys/block/sda/queue/scheduler [noop] deadline cfq So i ended adding the enty 'echo "noop" > /sys/block/sda/queue/scheduler' to the /etc/rc.d/rc.local which is not as elegant as sysctl.conf Version-Release number of selected component (if applicable): procps.x86_64 3.2.8-21.20110302git.fc15 @updates kernel 2.6.38.8-35.fc15.x86_64 How reproducible: allways Steps to Reproduce: explained above. Actual results: must use rc.local
Also present in RHEL 6.1, procps-3.2.8-17.el6.
Hello guys. That must be a mistake on the fedoraforum. AFAIK block.* was never a part of the /proc filesystem. It's a part of the /sys filesystem. Debian based distributions configure all /sys related stuff in /etc/sysfs.conf (not /etc/sysctl.conf). sysfs.conf + initscript is located in the Debian's "sysfsutils" package. Fedora is missing such initscript and config file. You can request this feature in Fedora too, but since it has nothing to do with procps, I'm changing the component to sysfsutils. Regards, Jaromir.
sysfsutils is kind of deprecated and not a way to go to solve such an issue. Either 'elevator' kernel parameter or rc.local script is the way to solve it.