How to edit value for aio-nr?
Issue
- [FAILED] Failed to start Apply Kernel Variables. See 'systemctl status systemd-sysctl.service' for details.
- systemd-sysctl: Failed to write '1048576' to '/proc/sys/fs/aio-nr': Permission denied
- Failed to set the value for
/proc/sys/fs/aio-nr
with errot below:
# echo 1048576 > /proc/sys/fs/aio-nr
-bash: /proc/sys/fs/aio-nr: Permission denied
Environment
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.