OS Manuals

/usr/bin/smbplugin

Kubernetes CSI driver for SMB shares

From kubernetes-csi-driver-smb 1.20.4-r0 (enterprise-packages), captured 2026-11-08 by running smbplugin --help (exit 0). permalink

Also provided by 1 other package version
Usage of /usr/bin/smbplugin:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages
  -alsologtostderr
    	log to standard error as well as files (no effect when -logtostderr=true)
  -default-ondelete-policy string
    	default policy for deleting subdirectory when deleting a volume
  -drivername string
    	name of the driver (default "smb.csi.k8s.io")
  -enable-get-volume-stats
    	allow GET_VOLUME_STATS on agent node (default true)
  -enable-windows-host-process
    	enable windows host process
  -endpoint string
    	CSI endpoint (default "unix://tmp/csi.sock")
  -krb5-cache-directory string
    	The directory for kerberos cache (default "/var/lib/kubelet/kerberos/")
  -krb5-prefix string
    	The prefix for kerberos cache (default "krb5cc_")
  -kubeconfig string
    	Absolute path to the kubeconfig file. Required only when running out of cluster.
  -log_backtrace_at value
    	when logging hits line file:N, emit a stack trace
  -log_dir string
    	If non-empty, write log files in this directory (no effect when -logtostderr=true)
  -log_file string
    	If non-empty, use this log file (no effect when -logtostderr=true)
  -log_file_max_size uint
    	Defines the maximum size a log file can grow to (no effect when -logtostderr=true). Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  -logtostderr
    	log to standard error instead of files (default true)
  -metrics-address string
    	export the metrics
  -nodeid string
    	node id
  -one_output
    	If true, only write logs to their native severity level (vs also writing to each lower severity level; no effect when -logtostderr=true)
  -remove-archived-volume-path
    	remove archived volume path in DeleteVolume (default true)
  -remove-smb-mapping-during-unmount
    	remove SMBMapping during unmount on Windows node (default true)
  -require-privacy-for-global-mapping
    	pass -RequirePrivacy $true to New-SmbGlobalMapping on Windows node; set to false to stop requiring SMB encryption on the global mapping (only applies when --enable-windows-host-process=true) (default true)
  -skip_headers
    	If true, avoid header prefixes in the log messages
  -skip_log_headers
    	If true, avoid headers when opening log files (no effect when -logtostderr=true)
  -stderrthreshold value
    	logs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)
  -v value
    	number for the log level verbosity
  -ver
    	Print the version and exit.
  -vmodule value
    	comma-separated list of pattern=N settings for file-filtered logging
  -vol-stats-cache-expire-in-minutes int
    	The cache expire time in minutes for volume stats cache (default 10)
  -working-mount-dir string
    	working directory for provisioner to mount smb shares temporarily (default "/tmp")
Options (29)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messageshelp
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)help
-default-ondelete-policy stringdefault policy for deleting subdirectory when deleting a volumehelp
-drivername stringname of the driver (default "smb.csi.k8s.io")help
-enable-get-volume-statsallow GET_VOLUME_STATS on agent node (default true)help
-enable-windows-host-processenable windows host processhelp
-endpoint stringCSI endpoint (default "unix://tmp/csi.sock")help
-krb5-cache-directory stringThe directory for kerberos cache (default "/var/lib/kubelet/kerberos/")help
-krb5-prefix stringThe prefix for kerberos cache (default "krb5cc_")help
-kubeconfig stringAbsolute path to the kubeconfig file.help
-log_backtrace_at valuewhen logging hits line file:N, emit a stack tracehelp
-log_dir stringIf non-empty, write log files in this directory (no effect when -logtostderr=true)help
-log_file stringIf non-empty, use this log file (no effect when -logtostderr=true)help
-log_file_max_size uintDefines the maximum size a log file can grow to (no effect when -logtostderr=true).help
-logtostderrlog to standard error instead of files (default true)help
-metrics-address stringexport the metricshelp
-nodeid stringnode idhelp
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-remove-archived-volume-pathremove archived volume path in DeleteVolume (default true)help
-remove-smb-mapping-during-unmountremove SMBMapping during unmount on Windows node (default true)help
-require-privacy-for-global-mappingpass -RequirePrivacy $true to New-SmbGlobalMapping on Windows node;help
-skip_headersIf true, avoid header prefixes in the log messageshelp
-skip_log_headersIf true, avoid headers when opening log files (no effect when -logtostderr=true)help
-stderrthreshold valuelogs at or above this threshold go to stderr when writing to files and stderr (no effect when -logtostderr=true or -alsologtostderr=true) (default 2)help
-v valuenumber for the log level verbosityhelp
-verPrint the version and exit.help
-vmodule valuecomma-separated list of pattern=N settings for file-filtered logginghelp
-vol-stats-cache-expire-in-minutes intThe cache expire time in minutes for volume stats cache (default 10)help
-working-mount-dir stringworking directory for provisioner to mount smb shares temporarily (default "/tmp")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.