Creating/expanding files hit unexpected ENOSPC on ext4 filesystem

Solution Unverified - Updated -


  • Creating/expanding files sometimes fails with unexpected ENOSPC on ext4 filesystem even though the disk space looks sufficient.

  • This phenomenon occurs if and only if the free space of the filesystem is almost the same as the size which is expected to be occupied by creating/expanding files.


  • Red Hat Enterprise Linux 5 and 6

  • ext4 filesystems

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