mirror of
https://github.com/ceph/ceph
synced 2025-02-19 00:47:49 +00:00
Merge pull request #38955 from varshar16/wip-doc-update-nfs-ganesha-dynamic
doc/cephfs/nfs: Add rook pod restart note, export and log block example
This commit is contained in:
commit
615b3df1ab
@ -104,6 +104,37 @@ Set Customized NFS Ganesha Configuration
|
||||
With this the nfs cluster will use the specified config and it will have
|
||||
precedence over default config blocks.
|
||||
|
||||
Example use cases
|
||||
|
||||
1) Changing log level
|
||||
|
||||
It can be done by adding LOG block in the following way::
|
||||
|
||||
LOG {
|
||||
COMPONENTS {
|
||||
ALL = FULL_DEBUG;
|
||||
}
|
||||
}
|
||||
|
||||
2) Adding custom export block
|
||||
|
||||
The following sample block creates a single export. This export will not be
|
||||
managed by `ceph nfs export` interface::
|
||||
|
||||
EXPORT {
|
||||
Export_Id = 100;
|
||||
Transports = TCP;
|
||||
Path = /;
|
||||
Pseudo = /ceph/;
|
||||
Protocols = 4;
|
||||
Access_Type = RW;
|
||||
Attr_Expiration_Time = 0;
|
||||
Squash = None;
|
||||
FSAL {
|
||||
Name = CEPH;
|
||||
}
|
||||
}
|
||||
|
||||
Reset NFS Ganesha Configuration
|
||||
===============================
|
||||
|
||||
@ -113,6 +144,9 @@ Reset NFS Ganesha Configuration
|
||||
|
||||
This removes the user defined configuration.
|
||||
|
||||
.. note:: With a rook deployment, ganesha pods must be explicitly restarted
|
||||
for the new config blocks to be effective.
|
||||
|
||||
Create CephFS Export
|
||||
====================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user