磁盘已分离但 dmesg 抛出 xfs_log_force 错误

磁盘已分离但 dmesg 抛出 xfs_log_force 错误

我刚刚更换了一个坏的 Ceph OSD 磁盘,除了这个之外一切顺利。

之前的坏盘是/dev/sdh,现已替换为/dev/sdan。但是当我拖尾时dmesg,我不断收到 XFS 错误:

[Tue Feb 13 19:26:50 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:27:20 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:27:51 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:28:21 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:28:51 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:29:21 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:29:51 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:30:21 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:30:51 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:31:21 2024] XFS (sdh1): xfs_log_force: error -5 returned.
[Tue Feb 13 19:31:51 2024] XFS (sdh1): xfs_log_force: error -5 returned.

我不知道如何“告诉” XFS 磁盘已经不见了。

我遇到过以下讨论:

  1. https://bugzilla.redhat.com/show_bug.cgi?id=1192850
  2. https://forums.unraid.net/topic/46288-xfs_log_force-error-5-returned/

第一个建议xfs_io -x -c shutdown ...在分离磁盘之前执行。我试过这个,显然命令找不到磁盘,因为它不再存在。

后者建议重新启动系统,但我无法做到这一点,因为该服务器是生产的。

我知道这不会影响 CEPH,但它会填满日志。有什么方法可以修复/抑制错误吗?


Linux osd3 4.4.0-124-generic #148~14.04.1-Ubuntu SMP Thu May 3 07:26:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

相关内容