3

On a normal block device you can change the i/o scheduler like this:

# cat /sys/block/hda/queue/scheduler
noop anticipatory deadline [cfq]
# echo anticipatory > /sys/block/hda/queue/scheduler
# cat /sys/block/hda/queue/scheduler
noop [anticipatory] deadline cfq

How can I control the setting for a NFS volume or do I just have to set it globally in the boot config with

elevator=noop

or similar?

3

No, this is not possible.
NFS is providing a network mount and is outside of the block-device scheduler settings.

1
  • 2
    Will it be affected by the global io scheduler change though? I assume so since the kernel still manages io to NFS – Robert Swisher Jun 17 '14 at 16:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.