mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
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:
parent
c5f0c1704b
commit
bdfee45d3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user