We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在根据文档操作过程中,查看 ceph 状态异常:
$ ceph -w cluster 78abe680-037c-47a3-872e-cd2858ec11ce health HEALTH_ERR 64 pgs are stuck inactive for more than 300 seconds 64 pgs stuck inactive $ ceph osd tree ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY -1 0.51859 root default -2 0.25929 host svr002 0 0.25929 osd.0 down 0 1.00000 -3 0.25929 host svr003 1 0.25929 osd.1 down 0 1.00000
使用的操作系统为 CentOS7,文件系统为 ext4,根据文档说明应在 ceph.conf 中添加如下行:
osd max object name len = 256 osd max object namespace len = 64
然后通过 ceph-deploy --overwrite-conf admin svr002 svr003将配置推送给所有 osd 节点,确保 osd 节点上 ceph 用户对 /etc/ceph/ceph.client.admin.keyring 有可读权限:sudo chmod +r /etc/ceph/ceph.client.admin.keyring后,重新启动 osd 节点:ceph-deploy osd activate svr002:/opt/data/osd2 svr003:/opt/data/osd3即可。
ceph-deploy --overwrite-conf admin svr002 svr003
/etc/ceph/ceph.client.admin.keyring
sudo chmod +r /etc/ceph/ceph.client.admin.keyring
ceph-deploy osd activate svr002:/opt/data/osd2 svr003:/opt/data/osd3
说明: 本过程已在 ceph-cookbook-issue187中进行了说明,为防止之后重新遇到问题,这里简单记录下。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在根据文档操作过程中,查看 ceph 状态异常:
使用的操作系统为 CentOS7,文件系统为 ext4,根据文档说明应在 ceph.conf 中添加如下行:
然后通过
ceph-deploy --overwrite-conf admin svr002 svr003
将配置推送给所有 osd 节点,确保 osd 节点上 ceph 用户对/etc/ceph/ceph.client.admin.keyring
有可读权限:sudo chmod +r /etc/ceph/ceph.client.admin.keyring
后,重新启动 osd 节点:ceph-deploy osd activate svr002:/opt/data/osd2 svr003:/opt/data/osd3
即可。说明: 本过程已在 ceph-cookbook-issue187中进行了说明,为防止之后重新遇到问题,这里简单记录下。
The text was updated successfully, but these errors were encountered: