]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs: improve ceph-fuse command 56879/head
authorZac Dover <zac.dover@proton.me>
Mon, 15 Apr 2024 07:43:23 +0000 (17:43 +1000)
committerZac Dover <zac.dover@proton.me>
Mon, 15 Apr 2024 07:43:23 +0000 (17:43 +1000)
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>
doc/cephfs/client-auth.rst

index 6e74e2845e697b614acf272c5f79a90a8330c322..7161253906357924894b82051709d4e8ccdd875d 100644 (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