XFS: Internal error i != 1 at line 3526 of file fs/xfs/libxfs/xfs_btree.c

Solution Verified - Updated -

Issue

  • XFS filesystem shutdown following error

    XFS (sda5): Internal error i != 1 at line 3449 of file fs/xfs/libxfs/xfs_btree.c.  Caller xfs_btree_insert+0x1ad/0x260 [xfs]
    ...
    Call Trace:
    dump_stack+0x41/0x60
    xfs_corruption_error+0x8b/0x90 [xfs]
    ? xfs_btree_insert+0x1ad/0x260 [xfs]
    xfs_btree_insert+0x1df/0x260 [xfs]
    ? xfs_btree_insert+0x1ad/0x260 [xfs]
    ? xfs_alloc_fixup_trees+0x28a/0x3b0 [xfs]
    xfs_alloc_fixup_trees+0x28a/0x3b0 [xfs]
    xfs_alloc_cur_finish+0x2b/0xb0 [xfs]
    xfs_alloc_ag_vextent_near+0x3ed/0x500 [xfs]
    xfs_alloc_ag_vextent+0x141/0x150 [xfs]
    xfs_alloc_vextent+0x512/0x620 [xfs]
    ...
    XFS (sda5): Corruption detected. Unmount and run xfs_repair
    

Environment

  • Red Hat Enterprise Linux 8.9

    • kernel-4.18.0-513.11.1.el8_9
    • kernel-4.18.0-513.24.1.el8_9
  • Red Hat Enterprise Linux 9

    • kernel-5.14.0-362.8.1.el9_3

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