From 77ac9beecb0767463ee25c6bbfbc8abf7c98158a Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Mon, 15 Apr 2024 17:43:23 +1000 Subject: [PATCH] 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 (cherry picked from commit bdfee45d3a8267db97fc697c369a3c8a945ae993) --- doc/cephfs/client-auth.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5