]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
ab8df71923b495c5d92741140cb409a4e0215d8e
[ceph.git] / ceph / src / pybind / mgr / cephadm / templates / services / nfs / ganesha.conf.j2
1 # {{ cephadm_managed }}
2 NFS_CORE_PARAM {
3 Enable_NLM = false;
4 Enable_RQUOTA = false;
5 Protocols = 4;
6 NFS_Port = {{ port }};
7 {% if bind_addr %}
8 Bind_addr = {{ bind_addr }};
9 {% endif %}
10 {% if haproxy_hosts %}
11 HAProxy_Hosts = {{ haproxy_hosts|join(", ") }};
12 {% endif %}
13 }
14
15 NFSv4 {
16 Delegations = false;
17 RecoveryBackend = 'rados_cluster';
18 Minor_Versions = 1, 2;
19 }
20
21 RADOS_KV {
22 UserId = "{{ user }}";
23 nodeid = "{{ nodeid }}";
24 pool = "{{ pool }}";
25 namespace = "{{ namespace }}";
26 }
27
28 RADOS_URLS {
29 UserId = "{{ user }}";
30 watch_url = "{{ url }}";
31 }
32
33 RGW {
34 cluster = "ceph";
35 name = "client.{{ rgw_user }}";
36 }
37
38 %url {{ url }}