doc/cephfs: improve ceph-fuse command

Instruct readers to use "mkdir /mnt/cephfs1" to create a mountpoint
before using "ceph-fuse" to mount a filesystem, if "/mnt/cephfs1"
doesn't already exist. cf.
https://github.com/ceph/ceph/pull/56831#discussion_r1561102227

Signed-off-by: Zac Dover <zac.dover@proton.me>
This commit is contained in:
Zac Dover 2024-04-15 17:43:23 +10:00
parent c5f0c1704b
commit bdfee45d3a

View File

@ -275,12 +275,16 @@ Client ``someuser`` is authorized for only one file system:
caps mon = "allow r"
caps osd = "allow rw tag cephfs data=cephfs"
Mounting ``cephfs1`` with ``someuser`` works:
Mounting ``cephfs1`` on the already-created mountpoint ``/mnt/cephfs1`` with
``someuser`` works:
.. prompt:: bash #
sudo ceph-fuse /mnt/cephfs1 -n client.someuser -k ceph.client.someuser.keyring --client-fs=cephfs
.. note:: If ``/mnt/cephfs`` does not exist prior to running the above command,
create it by running ``mkdir /mnt/cephfs1``.
::
ceph-fuse[96634]: starting ceph client