我正在尝试挂载cephfs,密码是可以的:
mount -t ceph ceph-mon:6789:/docker /mnt/cephfs -o name=admin,secret=admin-pass
但是,如果我使用secretfile,它将失败:
mount -t ceph ceph-mon:6789:/docker /mnt/cephfs -o name=admin,secretfile=/etc/ceph/admin.secret
错误消息显示:
mount: wrong fs type, bad option, bad superblock on ceph-mon:6789:/docker,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.和dmesg|tail展示
libceph: bad option at 'secretfile=/etc/ceph/admin.secret'
我的ceph客户端版本是0.94,系统是centos6.5。
如何使用secretfile挂载cephfs?
发布于 2019-04-14 04:40:59
最后在ceph-users邮件列表中找到了解决方案。在Debian上,需要安装ceph-fs-common包。来源:http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-July/032321.html
https://stackoverflow.com/questions/50944692
复制相似问题