• Welcome to LiuJason's Blog!

[已解决]Ceph集群报错'1 scrub errors'和'Possible data damage: 1 pg inconsistent'

Linux笔记 Jason 2 years ago (2022-04-10) 224 Views 0 Comments QR code of this page

问题描述

在巡检Ceph集群时发现报错:

1 scrub errors
Possible data damage: 1 pg inconsistent

解决方案

首先确定是哪个pg出现了问题,使用命令:

ceph health detail

可以看到上图中标识出2.3f4这个pg出现了inconsistent问题,因此需要针对它进行修复:

ceph pg repair 2.3f4

其中2.3f4应该改为实际情况中出现问题的pg。

之后可以通过ceph status查看修复情况:

等待修复完成后即可恢复正常状态。


This article is under CC BY-NC-SA 4.0 license.
Please quote the original link:https://www.liujason.com/article/1199.html
Like (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址