ceph版本-jewel
[ceph-node2][WARNIN] ceph_disk.main.FilesystemTypeError: Cannot discover filesystem type: device /dev/sdc: Line is truncated:
[ceph-node2][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: /usr/sbin/ceph-disk -v activate --mark-init systemd --mount /dev/sdc
在报错的节点上执行下面命令
[root@ceph-node3 ~]# ceph-disk activate-all
权限有问题无法启动osd盘
解决办法:
增加用户和磁盘的权限,重启后也需要增加
chown ceph:ceph /dev/sdb2