只有一台服务器,就把所有东西都放在一起了,只设置了1个节点,设置了3个osd,运行之后查看状态如下,请问是什么原因,怎么修改啊??

阿狸2016 发布于 2016/01/18 09:46
阅读 644
收藏 0

[root@localhost ceph]# ceph -s
    cluster a7f64266-0894-4f1e-a635-d0aeaca0e993
     health HEALTH_WARN 576 pgs stuck inactive; 576 pgs stuck unclean
     monmap e1: 1 mons at {node1=10.239.129.233:5678/0}, election epoch 2, quorum 0 node1
     osdmap e4: 3 osds: 0 up, 0 in
      pgmap v5: 576 pgs, 3 pools, 0 bytes data, 0 objects
            0 kB used, 0 kB / 0 kB avail
                 576 creating

配置文件如下:

[root@localhost ceph]# cat /etc/ceph/ceph.conf
[global]
fsid = a7f64266-0894-4f1e-a635-d0aeaca0e993
auth_cluster_required = none
auth_service_required = none
auth_client_required = none
mon initial members = node1
osd pool default size = 3
osd pool default min size = 1
osd pool default crush rule = 0
osd pool chooseleaf type = 1
[mon]
mon host = node1
mon addr = 10.239.129.233
mondata = /data/$name
[mon.node1]
host = node1
mon_addr = 10.239.129.233:5678

[osd]
osd_journal_size = 100
filestore xattruse omap = true
osd mkfs type = ext4
osd mkfs options ext4 = -f   # default for xfs is "-f"
osd mount options ext4 = user_xattr,rw,noatime # default mount option is "rw, noatime"

[osd.0]
host = node1
devs = /dev/sda5
[osd.1]
host = node1
devs = /dev/sda6
[osd.2]
host = node1
devs = /dev/sda7
[mds]
keyring = /var/lib/ceph/mds/$name/keyring
[mds.a]
host = node1


安装的版本是0.80.1

加载中
返回顶部
顶部