【发布时间】:2017-11-02 09:41:15
【问题描述】:
我在服务器“A”和“B”上安装了 ceph,我想从“C”或“D”服务器挂载它。
但我遇到了以下错误。
ceph-fuse[4628]: ceph mount failed with (95) Operation not supported
我的服务器配置如下。
A Server: ubunt16.04(ceph-server) 10.1.1.54
B Server: ubuntu16.04(ceph-server) 10.1.1.138
C Server: AmazonLinux(clinet)
D Server: ubuntu16.04(client)
和 ceph.conf
[global]
fsid = 44f299ac-ff11-41c8-ab96-225d62cb3226
mon_initial_members = node01, node02
mon_host = 10.1.1.54,10.1.1.138
auth cluster required = none
auth service required = none
auth client required = none
auth supported = none
osd pool default size = 2
public network = 10.1.1.0/24
Ceph 也已正确安装。
头孢健康
HEALTH_OK
ceph -s
cluster 44f299ac-ff11-41c8-ab96-225d62cb3226
health HEALTH_OK
monmap e1: 2 mons at {node01=10.1.1.54:6789/0,node02=10.1.1.138:6789/0}
election epoch 12, quorum 0,1 node01,node02
osdmap e41: 2 osds: 2 up, 2 in
flags sortbitwise,require_jewel_osds
pgmap v100: 64 pgs, 1 pools, 306 bytes data, 4 objects
69692 kB used, 30629 MB / 30697 MB avail
64 active+clean
使用 ceph-fuse 命令时出错。
sudo ceph-fuse -m 10.1.1.138:6789 /mnt/mycephfs/ --debug-auth=10 --debug-ms=10
ceph-fuse[4628]: starting ceph client
2017-11-02 08:57:22.905630 7f8cfdd60f00 -1 init, newargv = 0x55779de6af60 newargc=11
ceph-fuse[4628]: ceph mount failed with (95) Operation not supported
ceph-fuse[4626]: mount failed: (95) Operation not supported
我收到一条错误消息,提示“ceph mount failed with (95) Operation not supported”
我添加了一个选项“--auth-client-required=none”
sudo ceph-fuse -m 10.1.1.138:6789 /mnt/mycephfs/ --debug-auth=10 --debug-ms=10 --auth-client-required=none
ceph-fuse[4649]: starting ceph client
2017-11-02 09:03:47.501363 7f1239858f00 -1 init, newargv = 0x5597621eaf60 newargc=11
行为改变,这里没有响应。
如果不使用 ceph-fuse 命令,我会收到以下错误。
sudo mount -t ceph 10.1.1.138:6789:/ /mnt/mycephfs
can't read superblock
不知何故,即使使用“auth supported = none”,似乎也需要向客户端进行身份验证
在那种情况下,如何通过服务器“c”或“d”的身份验证?
如果有身份验证以外的可能原因,请告诉我。
【问题讨论】: