The tools checks that all NFINIDAT scsi-disk devices uses the noop I/O scheduler.
Linux provides a mechanism over sysfs to control the current I/O scheduler for every block devices, but no mechanism to make this change persistent.
To make it stick for all NFINIDAT devices, current and future ones, and across reboots, a udev rule must be added.
This test case fails if:
- The tool checks our udev rule exists for setting the noop I/O scheduler for NFINIDAT sd devices and dm (multipath) devices
- The tool checks that active I/O scheduler for all NFINIDAT sd devices is noop
This test case passes if:
- All NFINIDAT sd devices and dm devices use the noop I/O scheduler
- The udev rule exists, or the kernel is configured to use the noop I/O scheduler by default (elevator=noop is in the kernel load parameters)
How to fix this test
The tool follows the instructions mentioned below in the manual fix
To install the udev rule:
on legacy udev systems, such as redhat-5, suse-11 and their equivalents: write the following contents to
on systemd-based systems, such as redhat-7, ubuntu-14.04 and their equivalents:rite the following contents to
To change the active I/O scheduler for sd devices, run
for every NIFNIDAT device.