smbctune.conf File
Purpose
Contains the tunable parameter settings that are associated with the Server Message Block (SMB) client file system.
Description
The /etc/smbc/smbctune.conf file contains the tunable parameters with their corresponding values that are used by the smbctune command and the smbcd daemon to make the tunable parameter changes persistent.
This file contains the same tunable parameters as specified by the smbctune
command. By default, the format of the /etc/smbc/smbctune.conf file is as
follows:
default:
smbc_lookup_cache_size=32
smbc_max_concurrent_mount=8
smbc_max_connections=0
smbc_request_timeout=0
smbc_krb5_lifetime=0
smbc_krb5_renew_till=0
smbc_oplock_enable=1
smbc_file_lease_enable=1
smbc_protocol_version=auto
smbc_signing=enabled
smbc_secure_negotiate=desired
smbc_encryption=desired
The
default
keyword must be used to indicate that the same tunable parameters are
applicable for each SMB client system that connects to the SMB server. Example
- To set the maximum number of concurrent mount operations to 1024, the number of maximum
available connections on the SMB client system to 4096, and the request timeout duration to 20
seconds, enter the following text in the smbctune.conf
file:
default: smbc_request_timeout=20 smbc_max_concurrent_mount=1024 smbc_max_connections=4096