Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1.  
  2. ###################################################
  3. #
  4. # Ganesha Config Example
  5. #
  6. # This is a commented example configuration file for Ganesha. It is not
  7. # complete, but only has some common configuration options. See the man pages
  8. # for complete documentation.
  9. #
  10. ###################################################
  11.  
  12. ## These are core parameters that affect Ganesha as a whole.
  13. #NFS_CORE_PARAM {
  14. ## Allow NFSv3 to mount paths with the Pseudo path, the same as NFSv4,
  15. ## instead of using the physical paths.
  16. #mount_path_pseudo = true;
  17.  
  18. #MNT_Port= 892;
  19. #NLM_Port= 4045;
  20. #Rquota_Port= 875;
  21.  
  22. ## Configure the protocols that Ganesha will listen for. This is a hard
  23. ## limit, as this list determines which sockets are opened. This list
  24. ## can be restricted per export, but cannot be expanded.
  25. #Protocols = 3,4,9P;
  26. Protocols =3;
  27. #}
  28.  
  29.  
  30.  
  31.  
  32.  
  33. ## These are defaults for exports. They can be overridden per-export.
  34. #EXPORT_DEFAULTS {
  35. ## Access type for clients. Default is None, so some access must be
  36. ## given either here or in the export itself.
  37. #Access_Type = RW;
  38. #}
  39.  
  40. EXPORT_DEFAULTS {
  41. Squash= root_squash;
  42. Access_Type= RW;
  43. Protocols = 3;
  44. }
  45.  
  46.  
  47.  
  48. ## Configure settings for the object handle cache
  49. #MDCACHE {
  50. ## The point at which object cache entries will start being reused.
  51. #Entries_HWMark = 100000;
  52. #}
  53.  
  54. ## Configure an export for some file tree
  55. #EXPORT
  56. #{
  57. ## Export Id (mandatory, each EXPORT must have a unique Export_Id)
  58. #Export_Id = 12345;
  59.  
  60. ## Exported path (mandatory)
  61. #Path = /nonexistant;
  62.  
  63. ## Pseudo Path (required for NFSv4 or if mount_path_pseudo = true)
  64. #Pseudo = /nonexistant;
  65.  
  66. ## Restrict the protocols that may use this export. This cannot allow
  67. ## access that is denied in NFS_CORE_PARAM.
  68. #Protocols = 3,4;
  69.  
  70. ## Access type for clients. Default is None, so some access must be
  71. ## given. It can be here, in the EXPORT_DEFAULTS, or in a CLIENT block
  72. #Access_Type = RW;
  73.  
  74. ## Whether to squash various users.
  75. #Squash = root_squash;
  76.  
  77. ## Allowed security types for this export
  78. #Sectype = sys,krb5,krb5i,krb5p;
  79.  
  80. ## Exporting FSAL
  81. #FSAL {
  82. #Name = VFS;
  83. #}
  84. #}
  85.  
  86. %include "/export/admin/exports.conf"
  87. #%include "csexports.conf"
  88.  
  89. ## Configure logging. Default is to log to Syslog. Basic logging can also be
  90. ## configured from the command line
  91.  
  92. LOG {
  93. ## Default log level for all components
  94. Default_Log_Level = ALL;
  95.  
  96. ## Configure per-component log levels.
  97. #Components {
  98. #FSAL = INFO;
  99. #NFS4 = EVENT;
  100. #}
  101.  
  102. ## Where to log
  103. #Facility {
  104. # name = FILE;
  105. # destination = "/var/log/ganesha.log";
  106. # enable = active;
  107. #}
  108. }
  109.  
  110.  
  111.  
  112.  
  113. #LOG {
  114. ## Default log level for all components
  115. #Default_Log_Level = WARN;
  116.  
  117. ## Configure per-component log levels.
  118. #Components {
  119. #FSAL = INFO;
  120. #NFS4 = EVENT;
  121. #}
  122.  
  123. ## Where to log
  124. #Facility {
  125. #name = FILE;
  126. #destination = "/var/log/ganesha.log";
  127. #enable = active;
  128. #}
  129. #}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement