mirror of
https://github.com/ceph/ceph
synced 2025-01-11 21:50:26 +00:00
doc/cephfs/nfs: add user id, fs name and key to FSAL block
Fixes: https://tracker.ceph.com/issues/50161 Signed-off-by: Varsha Rao <varao@redhat.com>
This commit is contained in:
parent
9f94d27752
commit
08f1d906c2
@ -136,9 +136,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
|
||||
===============================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user