]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/cephfs/nfs: add user id, fs name and key to FSAL block 40687/head
authorVarsha Rao <varao@redhat.com>
Tue, 6 Apr 2021 10:06:45 +0000 (15:36 +0530)
committersinguliere <singuliere@autistici.org>
Fri, 9 Apr 2021 05:32:27 +0000 (07:32 +0200)
Fixes: https://tracker.ceph.com/issues/50161
Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 08f1d906c2696d64ed89160980768865beacdc08)

doc/cephfs/fs-nfs-exports.rst

index 282a5e2842d898761273a296fe3411bcd010e7cd..65363e5847847228e6e977f4801f315b22612da3 100644 (file)
@@ -133,9 +133,18 @@ Example use cases
      Squash = None;
      FSAL {
        Name = CEPH;
+       Filesystem = "filesystem name";
+       User_Id = "user id";
+       Secret_Access_Key = "secret key";
      }
    }
 
+.. note:: User specified in FSAL block should have proper caps for NFS-Ganesha
+   daemons to access ceph cluster. User can be created in following way using
+   `auth get-or-create`::
+
+         # ceph auth get-or-create client.<user_id> mon 'allow r' osd 'allow rw pool=nfs-ganesha namespace=<nfs_cluster_name>, allow rw tag cephfs data=<fs_name>' mds 'allow rw path=<export_path>'
+
 Reset NFS Ganesha Configuration
 ===============================