[CentOS] Right way to set IO scheduler on CentOS

Fri Nov 6 04:59:55 UTC 2009
Larry Brigman <larry.brigman at gmail.com>

On Thu, Nov 5, 2009 at 8:39 PM, Ryan Wagoner <rswagoner at gmail.com> wrote:
> Edit /etc/grub.conf and add elevator=deadline to the end of the kernel
> line. For example
>
> title CentOS (2.6.18-128.4.1.el5)
>        root (hd0,0)
>        kernel /vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/ elevator=deadline
>        initrd /initrd-2.6.18-128.4.1.el5.img
>

doesn't work if you only want it on one of several drives.

Your own /etc/init.d script or adding to rc.local.