Skip to content

Commit 2e15606

Browse files
wenjianhnJian Wen
authored andcommitted
Monitor XFS shutdown
Related kernel error messages are as below. kernel: XFS (dm-4): Internal error xfs_iunlink_remove at line 2038 of file fs/xfs/xfs_inode.c. Caller xfs_ifree+0x33/0x130 [xfs] kernel: XFS (dm-4): Corruption detected. Unmount and run xfs_repair kernel: XFS (dm-4): xfs_inactive_ifree: xfs_ifree returned error -117 kernel: XFS (dm-4): xfs_do_force_shutdown(0x1) called from line 1788 of file fs/xfs/xfs_inode.c. Return address = 000000009d022bf1 kernel: XFS (dm-4): I/O Error Detected. Shutting down filesystem kernel: XFS (dm-4): Please umount the filesystem and rectify the problem(s) Signed-off-by: Jian Wen <[email protected]>
1 parent 7117600 commit 2e15606

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config/kernel-monitor.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
"type": "KernelDeadlock",
1111
"reason": "KernelHasNoDeadlock",
1212
"message": "kernel has no deadlock"
13+
},
14+
{
15+
"type": "XfsShutdown",
16+
"reason": "XfsHasNotShutDown",
17+
"message": "XFS has not shutdown"
1318
}
1419
],
1520
"rules": [
@@ -53,6 +58,12 @@
5358
"reason": "IOError",
5459
"pattern": "Buffer I/O error .*"
5560
},
61+
{
62+
"type": "permanent",
63+
"condition": "XfsShutdown",
64+
"reason": "XfsHasShutdown",
65+
"pattern": "XFS .* Shutting down filesystem.?"
66+
},
5667
{
5768
"type": "temporary",
5869
"reason": "MemoryReadError",

0 commit comments

Comments
 (0)