2016-05-14 1662 views
1

我在配备Ubuntu Server 14.04的3个节点上设置了Ceph Jewel。CephFS:挂载失败,显示“无法读取超级块”

ceph -v 
ceph version 10.2.1 (3a66dd4f30852819c1bdaa8ec23c795d4ad77269) 

群集是和运行:

ceph -s 
cluster cb3537cf-05a0-4411-840d-ab5b8d855579 
health HEALTH_OK 
monmap e3: 3 mons at {ceph-monitor=192.168.0.173:6789/0,ceph-node01=192.168.0.171:6789/0,ceph-node02=192.168.0.172:6789/0} 
     election epoch 28, quorum 0,1,2 ceph-node01,ceph-node02,ceph-monitor 
    fsmap e25: 1/1/1 up {0=ceph-monitor=up:active} 
osdmap e55: 3 osds: 3 up, 3 in 
     flags sortbitwise 
    pgmap v302: 368 pgs, 9 pools, 3704 bytes data, 191 objects 
     120 MB used, 15206 MB/15326 MB avail 
      368 active+clean 

我已经设置了一个单独的客户端节点。当我尝试挂载文件系统

mount -t ceph 192.168.0.173:6789:/ /mnt/cephfs -o name=admin,secret=AQC3QjdXi1e3LBAAFzrYKXKz6oupPGXaKaW1cQ== 

我得到这个输出(长时间的延迟后):

mount: 192.168.0.173:6789:/: can't read superblock 

所有的服务似乎运行:

大家有一个想法到底是怎么回事?

回答

2

当我在Ubuntu Server 14.04上将我的内核从3.13升级到4.4x时,问题消失了。

通过apt-get install linux-generic-lts-xenial安装最新的内核版本并重新启动机器。

另一种选择是使用ceph-fuse而不是内核驱动程序。它与apt-get install ceph-fuse一起安装。 ceph-fuse能够安装文件系统没有任何问题。看看这里:http://docs.ceph.com/docs/hammer/cephfs/fuse/

0

内核客户端挂载失败后,您可以看到内核日志来诊断此问题,也许协议功能不匹配。

相关问题