Getting " EXT4-fs: Can't allocate: Allocation context details" errors in logs while using ext4 with Red Hat Enterprise Linux 5.6 and higher

Solution Verified - Updated -

Issue

  • Randomly an ext4 filesystem will begin to create the following types of messages under /var/log/messages:
kernel: EXT4-fs: Can't allocate: Allocation context details:
kernel: EXT4-fs: status 1 flags 0
kernel: EXT4-fs: orig 2240/0/1@0, goal 2240/0/1@0, best 0/0/0@0 cr 3
kernel: EXT4-fs: 0 scanned, 0 found
kernel: EXT4-fs: groups:
  • These messages are followed by extensive data corruption.

Environment

  • Red Hat Enterprise Linux 5 Update 6 or later
  • Ext4 filesystem
  • RAID Array

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