OSD's are going down due to low fs.aio-max-nr value.

Solution Verified - Updated -

Issue

  • OSD is going down with error _aio_start io_setup(2) failed with EAGAIN; try increasing /proc/sys/fs/aio-max-nr.
  • The osds are failing with the below error:
Dec 22 12:26:10  conmon[1948663]: debug 2021-12-22T09:26:10.570+0000 7fbb262a6080 -1 bdev(0x556ac2874800 /var/lib/ceph/osd/ceph-9/block.db) _aio_start io_setup(2) failed with EAGAIN; try increasing /proc/sys/fs/aio-max-nr    
Dec 22 12:26:10  conmon[1948663]: debug 2021-12-22T09:26:10.570+0000 7fbb262a6080 -1 bluestore(/var/lib/ceph/osd/ceph-9) _minimal_open_bluefs add block device(/var/lib/ceph/osd/ceph-9/block.db) returned: (11) Resource temporarily unavailable   

Environment

  • Red Hat Ceph Storage 5

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