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
- The tool checks that active I/O scheduler for all NFINIDAT sd devices is noop
This test case passes if:
All NFINIDAT sd devices uses the noop I/O scheduler, and the udev rule exists
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-6, suse-11 and their equivalents:rite 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.