XFS filesystem shutdown when filesystem is close to full
Issue
- We are seeing XFS filesystem forced shutdowns when a filesystem is close to full
kernel: XFS (sdl1): Mounting V4 Filesystem
kernel: XFS (sdl1): Ending clean mount
...
kernel: XFS (sdl1): Internal error xfs_trans_cancel at line 984 of file fs/xfs/xfs_trans.c. Caller xfs_create+0x4af/0x750 [xfs]
kernel: CPU: 11 PID: 32290 Comm: java Kdump: loaded Not tainted 3.10.0-862.2.3.el7.x86_64 #1
kernel: Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380 Gen9, BIOS P89 02/17/2017
kernel: Call Trace:
kernel: [<ffffffff9bf0d78e>] dump_stack+0x19/0x1b
kernel: [<ffffffffc06203db>] xfs_error_report+0x3b/0x40 [xfs]
kernel: [<ffffffffc063104f>] ? xfs_create+0x4af/0x750 [xfs]
kernel: [<ffffffffc063c85d>] xfs_trans_cancel+0xbd/0xe0 [xfs]
kernel: [<ffffffffc063104f>] xfs_create+0x4af/0x750 [xfs]
kernel: [<ffffffffc062dfd0>] xfs_generic_create+0xd0/0x2b0 [xfs]
kernel: [<ffffffffc062e1e4>] xfs_vn_mknod+0x14/0x20 [xfs]
kernel: [<ffffffffc062e223>] xfs_vn_create+0x13/0x20 [xfs]
kernel: [<ffffffff9ba27bd3>] vfs_create+0xd3/0x140
kernel: [<ffffffff9ba2b9c0>] do_last+0x10f0/0x12c0
kernel: [<ffffffff9ba2bc67>] path_openat+0xd7/0x640
kernel: [<ffffffff9ba2a2dc>] ? filename_lookup+0x7c/0xc0
kernel: [<ffffffff9ba2d7fd>] do_filp_open+0x4d/0xb0
kernel: [<ffffffff9ba3ac77>] ? __alloc_fd+0x47/0x170
kernel: [<ffffffff9ba19b07>] do_sys_open+0x137/0x240
kernel: [<ffffffff9ba19c2e>] SyS_open+0x1e/0x20
kernel: [<ffffffff9bf1f795>] system_call_fastpath+0x1c/0x21
kernel: XFS (sdl1): xfs_do_force_shutdown(0x8) called from line 985 of file fs/xfs/xfs_trans.c. Return address = 0xffffffffc063c876
kernel: XFS (sdl1): Corruption of in-memory data detected. Shutting down filesystem
kernel: XFS (sdl1): Please umount the filesystem and rectify the problem(s)
Environment
- Red Hat Enterprise Linux 7.5
- kernel-3.10.0-862.2.3.el7
- XFS Filesystems with V4 superblocks
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
