sapconf: tuned.utils.commands: Writing to file /sys/block/.../queue/scheduler error: [Errno 22] Invalid argument
This document (7024298) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
ERROR tuned.utils.commands: Writing to file /sys/block/sdb/queue/scheduler error: [Errno 22] Invalid argument
It is possible that the actual multiqueue scheduler is already 'none'. In this case you can ignore the warning or change the default to 'none' to avoid it.
At the moment the scheduler can only be set globally for all devices. If you have both multiqueue and non-multique devices you can set the scheduler per device (see below)
- Determine the current sapconf profile with 'tuned-adm active'.
The profile must be either 'sap-hana', 'sap-netweaver', 'sap-ase' or 'sap-bobj' (SLES 12) or 'sapconf' (SLES 15) or sapconf is not involved!
# tuned-adm active
Current active profile: sap-netweaver
- Create a directory /etc/tuned/<acitve profile> and a file tuned.conf inside with the following content:
If you already have a configuration, change the [disk] section accordingly.
If you want to set the schedulers per device, use the following example for your configuration:
# section for devices with none
# section for devices with cfq
# everything else shall use noop
- Restart tuned by running 'systemctl restart tuned.service'
At the moment sapconf's default is 'noop'. With the next version both 'noop' and 'none' will become default.
This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7024298
- Creation Date:29-NOV-19
- Modified Date:29-NOV-19
- SUSESUSE Linux Enterprise Server