Hi,
I'd like to change the I/O scheduler to deadline for one particular disk on my system. All resources I found, however, use methods I can not use because they either refer to the disk using labels (sda, sdb, etc.) or they are using Grub instead of Grub2.
The reason I can't use labels to refer to a disk is obvious, it can and will change for a disk. How does one change the I/O scheduler using a UUID to refer to the disk?
Any of the following are no option:
In /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="elevator=deadline quiet splash"
Would cause the same scheduler to be used for all disks.
In /etc/rc.local
Code:
echo deadline > /sys/block/sda/queue/scheduler
echo 1 > /sys/block/sda/queue/iosched/fifo_batch
Is using the labels.
In /etc/sysfs.conf
Code:
block/sda/queue/scheduler = deadline
Is using the labels again.
Bookmarks