How to edit value for aio-nr?

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content