From: Zac Dover Date: Mon, 15 Apr 2024 07:43:23 +0000 (+1000) Subject: doc/cephfs: improve ceph-fuse command X-Git-Tag: v20.0.0~2153^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bdfee45d3a8267db97fc697c369a3c8a945ae993;p=ceph.git 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 --- diff --git a/doc/cephfs/client-auth.rst b/doc/cephfs/client-auth.rst index 6e74e2845e697..7161253906357 100644 --- a/doc/cephfs/client-auth.rst +++ b/doc/cephfs/client-auth.rst @@ -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