Unable to change IO scheduler for virtio disk /dev/vda in RHEL 7.1

Solution Verified - Updated -

Issue

  • Unable to change IO scheduler for virtio disk /dev/vda in RHEL 7.1 The /sys/block/vda/queue/scheduler file shows none for scheduler and does not allow to select any of the IO schedulers viz. deadline, cfq, or noop:

    [root@testsystem ~]# cat /sys/block/vda/queue/scheduler
    none
    
    [root@testsystem ~]# echo noop > /sys/block/vda/queue/scheduler
    [root@testsystem ~]# cat /sys/block/vda/queue/scheduler
    none
    
    [root@testsystem ~]# echo deadline > /sys/block/vda/queue/scheduler
    [root@testsystem ~]# cat /sys/block/vda/queue/scheduler
    none
    

    Why does /sys/block/vda/queue/scheduler only show one"?

Environment

  • Red Hat Enterprise Linux 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content