ceph 重启后osd报错
来源:互联网 发布:淘宝可以看到历史价格 编辑:程序博客网 时间:2024/09/21 08:16
这里会遇到一个ERR,因为jewel版本的ceph要求journal需要是ceph:ceph权限,报错如下:
journalctl -xeu ceph-osd@9.service 0月 31 09:54:05 k8s-master ceph-osd[2848]: starting osd.9 at :/0 osd_data /var/lib/ceph/osd/ceph-9 /var/lib/ceph/osd/ceph-9/journal10月 31 09:54:05 k8s-master ceph-osd[2848]: 2017-10-31 09:54:05.414647 7f0dbf58b800 -1 filestore(/var/lib/ceph/osd/ceph-9) mount failed to open journal /var/lib/ceph/osd/ceph-9/journal: (13)10月 31 09:54:05 k8s-master ceph-osd[2848]: 2017-10-31 09:54:05.424957 7f0dbf58b800 -1 osd.9 0 OSD:init: unable to mount object store10月 31 09:54:05 k8s-master ceph-osd[2848]: 2017-10-31 09:54:05.424985 7f0dbf58b800 -1 ** ERROR: osd init failed: (13) Permission denied
执行如下指令即可解决这个错误。
chown ceph:ceph /dev/vde[1-4]
不要忘了所有的journal盘都需要修改权限。
修改后重启osd
systemctl restart ceph-osd@9.service
有时重启过于频繁,会报错如下
Job for ceph-osd@9.service failed because start of the service was attempted too often. See "systemctl status ceph-osd@9.service" and "journalctl -xe" for details.To force a start use "systemctl reset-failed ceph-osd@9.service" followed by "systemctl start ceph-osd@9.service" again.
如它所说
先执行
systemctl reset-failed ceph-osd@9.service
在执行
systemctl start ceph-osd@9.service 或 systemctl restart ceph-osd@9.service
阅读全文
0 0
- ceph 重启后osd报错
- ceph -s集群报错too many PGs per OSD
- Ceph osd启动报错osd init failed (36) File name too long
- ceph-deploy osd activate报错ERROR: error creating empty object store in xxx Permission den
- ceph集群jewel版本部署osd激活权限报错-故障排查
- ceph osd full 解决方法
- ceph OSD 故障记录
- Ceph OSD日志分析
- 【Ceph】添加/删除OSD
- ceph osd full
- Ceph OSD Down
- Ceph添加OSD节点
- Ceph删除一个OSD
- ceph osd heartbeat 分析
- Ceph排错之osd之间心跳检测没有回应
- Ceph Client报错
- ceph 添加/删除OSD(ceph.conf)
- ceph存储 ceph集群osd配置
- P3847马云(贪心)
- vins-mono slam刚开始接触
- C语言多线程基础-01-线程的创建与销毁
- React Router 使用教程
- 六边形数据结构和寻路
- ceph 重启后osd报错
- HDU 1754 I Hate It (线段树,模板)
- 人人商城v3.1.0 破解在线升级
- HTML
- hadoop记录篇7-hive常用sql统计
- 区块宝周报:国家互金专委会发布《比特币场外交易监测报告》
- 区块宝研究院月报(10月):《区块链行业合规发展分析报告》
- Spring概述与架构
- vio slam基本---转载