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