0

我已经使用以下命令成功安装了 ceph:

mount -t ceph ceph-mon1.storage:6789:/ /mnt/mycephfs -o name=cephx,secretfile=/etc/ceph/ceph.client.cephx.keyring

但是当我尝试将它设置为持久 vis fstab 它不起作用

ceph ceph-mon1.storage:6789:/ /mnt/ftd ceph name=cephx,secretfile=/etc/ceph/ceph.client.cephx.keyring,noatime 0 0

我基于https://docs.ceph.com/docs/master/cephfs/kernel/

4

1 回答 1

0

我的错误,需要从开头删除 ceph ceph-mon1.storage:6789:/ /mnt/ftd ceph name=cephx,secretfile=/etc/ceph/ceph.client.cephx.keyring,noatime 0 0

于 2020-01-21T16:14:27.660 回答