我创建了三个Cephfs并尝试在客户端节点上挂载它,但是没有找到任何方法来挂载特定的CephFS。我试过
-t ceph节点:/ /mnt/apachefs/ -o mds_namespace=webfs,secret=
ceph-authtool -p /etc/ceph/ceph.client.admin.keyring
但是它失败了,是否还有其他方法可以使用内核驱动程序、mount.ceph或ceph在客户端节点上安装多个文件系统?
发布于 2018-07-28 08:56:13
可以通过以下选项指定多个CephFS。
-o mds_namespace ...内核驱动程序(挂载-t ceph)--client_mds_namespace ...半边保险丝我非常肯定,由于旧的内核版本,-o mds_namespace没有工作。如果您正在使用CentOS7,请用CentOS7 12.2.4或更高版本的(--client_mds_namespace)测试它。对我的副手来说很好。
发布于 2017-11-27 09:31:54
如果您使用基于Debian的系统,您可以使用apt安装ceph-fs-common包,例如: apt-get安装-y ceph公共程序包。
发布于 2022-10-10 16:09:01
ceph fs volume create nextcloud [<placement>]
ceph fs volume create okd-admin [<placement>]
#/etc/fstab
### one
10.10.20.6:6789:/folder1 /USERDATA ceph name=admin,secretfile=/etc/ceph/secret.key,fs=nextcloud,noatime,_netdev 0 2
### two
10.10.20.5:6789:/folder2 /mnt/cephfs ceph name=okd-admin,secretfile=/etc/ceph/secret-openshift.key,fs=openshift,noatime,_netdev 0 2https://stackoverflow.com/questions/47215902
复制相似问题