Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 934439 Details for
Bug 1138327
NFS-Ganesha: Infinite Loop When Creating Files via FSAL-PROXY
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
proxy config file as an example
proxy.2.1.ganesha.conf (text/plain), 9.30 KB, created by
Ming Chen
on 2014-09-04 13:45:51 UTC
(
hide
)
Description:
proxy config file as an example
Filename:
MIME Type:
Creator:
Ming Chen
Created:
2014-09-04 13:45:51 UTC
Size:
9.30 KB
patch
obsolete
>################################################### ># >#NFS-Ganesha 2.1 proxy configration. ># >#See https://bugzilla.redhat.com/show_bug.cgi?id=1088981 ># >#To use the default value for a parameter, >#just comment the associated line. ># >################################################### > >FSAL >{ > PROXY { > FSAL_Shared_Library = "/usr/local/lib64/ganesha/libfsalproxy.so.4.2.0"; > } >} > > >################################################### ># >#FileSystem common parameters. ># >#To use the default value for a parameter, >#just comment the associated line. ># >################################################### > >FileSystem >{ > #MaxRead = 1000000 ; # Max read size from FS > #MaxWrite = 1000000 ; # Max write size to FS > > # If set, this mask is applied on the mode of created objects. > #Umask = 0002 ; > Umask = 0000 ; > > # Setting one of those values to 0 > # will deactivate the associated feature : > > Link_support = TRUE; # hardlink support > Symlink_support = TRUE; # symlinks support > CanSetTime = TRUE; # Is it possible to change file times > > # This indicates whether it is allowed to cross > # a junction in a "LookupPath" (used for export entries). > #auth_xdev_export = TRUE; > > # defines access mask for extended attributes > xattr_access_rights = 0600; >} > > >################################################### ># >#Cache_Inode Hash Parameter ># >################################################### > >CacheInode_Hash >{ > # Size of the array used in the hash (must be a prime number for algorithm efficiency) > Index_Size = 17 ; > > # Number of signs in the alphabet used to write the keys > # Alphabet_Length = 10 ; > > # Number of preallocated RBT nodes > # Prealloc_Node_Pool_Size = 10000 ; >} > >################################################### ># >#Cache_Inode Client Parameter ># >################################################### > >CacheInode_Client >{ > # cache inode log file > LogFile = "SYSLOG"; > #LogFile = "/var/log/nfs-ganesha.log"; > > # LRU list item preallocated pool size > # LRU_Prealloc_PoolSize = 1000 ; > > #Number of use of the LRU list before garbagging it > # LRU_Nb_Call_Gc_invalid = 100 ; > > # CacheInode Entry preallocated pool size > Entry_Prealloc_PoolSize = 1000 ; > > # CacheInode Parent Data preallocated pool size > # ParentData_Prealloc_PoolSize = 1000 ; > > # Time after which attributes should be renewed > # A value of 0 will disable this feature > Attr_Expiration_Time = Immediate ; > > # Time after which symbolic links should be renewed > # A value of 0 will disable this feature > Symlink_Expiration_Time = Immediate ; > > # Time after which directory content should be renewed > # A value of 0 will disable this feature > Directory_Expiration_Time = Immediate ; > > # This flag tells if 'access' operation are to be performed > # explicitely on the FileSystem or only on cached attributes information > Use_Test_Access = 1 ; > > # Number of opened files (take care of tcp connections...) > # Max_Fd = 128 ; > > # Open file retention (in seconds) > # OpenFile_Retention = 5 ; > > # flag used to enable/disable this feature > # Use_OpenClose_cache = YES ; > >} > >################################################### ># >#Cache_Inode Garbagge collection policy ># >################################################### > >CacheInode_GC_Policy >{ > # Lifetime for a file before being a candidate to GC > # A value of -1 will disable file GC > # File_Lifetime = 600 ; > > # Lifetime for a directory before being a candidate to GC > # A value of -1 will disable file GC > # Directory_Lifetime = 1200 ; > > # GC High Water Mark > # NbEntries_HighWater = 10000 ; > > # GC Low Water Mark > # NbEntries_LowWater = 9000 ; > > # Runtime interval (in seconds) > # Runtime_Interval = 360 ; > > # Number of calls to be made to Cache_Inode layer before testing for GC > # Nb_Call_Before_GC = 10000 ; >} > > >################################################### ># >#File_content Client Parameter ># >################################################### > >FileContent_Client >{ > # LRU list item preallocated pool size > LRU_Prealloc_PoolSize = 1000 ; > > #Number of use of the LRU list before garbagging it > LRU_Nb_Call_Gc_invalid = 100 ; > > # File content preallocated pool size > Entry_Prealloc_PoolSize = 100 ; > > # The place where this client should store its cached entry > Cache_Directory = /tmp/ganesha.datacache ; >} > > >################################################### ># >#File_Content Garbagge collection policy ># >################################################### > >FileContent_GC_Policy >{ > # Lifetime for a file before being a candidate to GC > # A value of -1 will disable file GC > Lifetime = 60 ; > > # GC High Water Mark (in percent) > Df_HighWater = 99 ; > > # GC Low Water Mark (in percent) > Df_LowWater = 90 ; > > # Runtime interval (in seconds) > Runtime_Interval = 0 ; > > # Number of calls to be made to File_Content layer before testing for GC > Nb_Call_Before_GC = 100 ; > > # Emergency flush grace period: file who are younger than this delay will > # remain in FileContent Cache > Emergency_Grace_Delay = 120 ; >} > > >################################################### ># ># NFS_Worker_Param ># >################################################### > >NFS_Worker_Param >{ > # Size of the prealloc pool size for pending jobs > # Pending_Job_Prealloc = 30 ; > > # Number of job before GC on the worker's job pool size > Nb_Before_GC = 101 ; > > # Number of preallocated entry for duplicate requests > # Nb_DupReq_Prealloc = 100 ; > > # LRU list item preallocated pool size > # LRU_DupReq_Prealloc_PoolSize = 100 ; > > # Number of Duplicate Request before GC > # Nb_DupReq_Before_GC = 10 ; > > # Number of preallocated IP stats cache entries > # Nb_IP_Stats_Prealloc = 20 ; >} > >################################################### ># ># NFS_Worker_Param ># >################################################### > >NFS_Core_Param >{ > # Number of worker threads to be used > Nb_Worker = 8 ; > > # NFS Port to be used > # Default value is 2049 > NFS_Port = 2049; > > NFS_Protocols = "3,4" ; > > Plugins_Dir = "/usr/local/lib64/ganesha"; > > # Mount port to be used > # Default is 0 (let the system use an available ephemeral port) > #MNT_Port = 0 ; > > # NFS RPC Program number > # Default value is 100003 > #NFS_Program = 100003 ; > > # Mount protocol RPC Program Number > # Default value is 100005 > #MNT_Program = 100005 ; > > # Bind to only a single address > # Bind_Addr = "192.168.1.1" ; > > # Expiration for an entry in the duplicate request cache > # DupReq_Expiration = 2 ; > > # DRC_Disabled = True; > > # Size to be used for the core dump file (if the daemon crashes) > ##Core_Dump_Size = 0 ; > > # Maximum Number of open fds > # #Nb_Max_Fd = -1 ; #-1 is the default value > > # The path for the stats file > # Stats_File_Path = "/tmp/ganesha.stats" ; > > # The delay for producing stats (in seconds) > #Stats_Update_Delay = 600 ; >} > >################################################### ># >#Duplicate Request Hash Parameter ># >################################################### > >NFS_DupReq_Hash >{ > # Size of the array used in the hash (must be a prime number for algorithm efficiency) > Index_Size = 17 ; > > # Number of signs in the alphabet used to write the keys > # Alphabet_Length = 10 ; > > # Number of preallocated RBT nodes > # Prealloc_Node_Pool_Size = 1000; >} > >################################################### ># >#IP/Name cache paramters ># >################################################### > >NFS_IP_Name >{ > # Size of the array used in the hash (must be a prime number for algorithm efficiency) > Index_Size = 17 ; > > # Number of signs in the alphabet used to write the keys > # Alphabet_Length = 10 ; > > # Number of preallocated RBT nodes > # Prealloc_Node_Pool_Size = 50; > > # Expiration time for this cache > Expiration_Time = 3600 ; >} > > >################################################### ># >#NFSv4 Specific configuration stuff ># >################################################### >#NFSv4 >#{ ># # Lifetime for NFSv4 Leases ># Lease_Lifetime = 120 ; ># ># # Are we using volatile fh ? ># FH_Expire = FALSE ; ># ># # Should we return NFS4ERR_FH_EXPIRED if a FH is expired ? ># Returns_ERR_FH_EXPIRED = TRUE ; ># ># # Set to TRUE to force the client to confirm the files it opens ># Use_OPEN_CONFIRM = FALSE ; >#} ># >################################################### ># Export entries >################################################### > >#First export entry >#%include "export_proxy.conf" and export_proxy.conf > >PROXY{ > remote_server { > Srv_Addr = "<your-remote-server-ip-address>"; > >#WARNING/!\ Small NFS_SendSize and NFS_RecvSize may lead to problems >#NFS_SendSizeshould be larger than MaxWrite and MaxRead >#Shouldadd sanity check for this > NFS_SendSize = 65536; > NFS_RecvSize = 65536; > Retry_SleepTime = 60 ; > > Enable_Handle_Mapping = FALSE; > #HandleMap_DB_Dir = "/var/nfs-ganesha/handledbdir/"; > #HandleMap_Tmp_Dir = "/tmp"; > #HandleMap_DB_Count = 8; > > } >} > >EXPORT >{ > Export_Id = 1 ; > > Path = "/nfsdata" ; # XXX: change to <your-nfs-server-export-path> > > # Exporting FSAL > FSAL { > name = "PROXY"; > } > > Pseudo = "/proxy/home"; > > #Cache_Data = FALSE ; > > Access_type = "RW"; > > Protocols = "3,4"; > > Squash = "None"; > > Transports = "TCP"; > > SecType = "sys"; > > # Maximum size for a read operation. > MaxRead = 32768; > > # Maximum size for a write operation. > MaxWrite = 32768; >} > >LOG >{ > Default_log_level = DEBUG; > > Components > { > FSAL = FULL_DEBUG; > > NFS_V4 = FULL_DEBUG; > > STATE = FULL_DEBUG; > > CACHE_INODE = FULL_DEBUG; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1138327
: 934439