Mounting Ceph File Systems Permanently in /etc/fstab

Posted on

The fstab entry for cephfs on the tutorial is:

mon1:6789:/, mon2:6789:/, mon3:6789:/ /mnt/cephfs ceph name=admin, secretfile=/etc/ceph/secret.key,_netdev, noatime 0 0

While, it may be
mon1:6789, mon2:6789, mon3:6789:/ /mnt/cephfs ceph name=admin, secretfile=/etc/ceph/secret.key,_netdev, noatime 0 0

Otherwise it will complain an mount error:

mount error 2 = No such file or directory

Responses