OS Manuals

/usr/bin/azurefileplugin

Azure File CSI Driver

From azurefile-csi-fips-1.34 1.34.11-r1 (enterprise-packages), captured 2026-11-08 by running azurefileplugin --help (exit 0). permalink

Usage of /usr/bin/azurefileplugin:
  -add_dir_header
    	If true, adds the file directory to the header of the log messages
  -allow-empty-cloud-config
    	allow running driver without cloud config (default true)
  -allow-inline-volume-key-access-with-identity
    	allow accessing storage account key using cluster identity for inline volume
  -alsologtostderr
    	log to standard error as well as files (no effect when -logtostderr=true)
  -alsologtostderrthreshold value
    	logs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)
  -append-actimeo-option
    	Whether appending actimeo=0 option to nfs mount command (default true)
  -append-closetimeo-option
    	Whether appending closetimeo=0 option to smb mount command
  -append-mount-error-help-link
    	Whether to include a link for help with mount errors when a mount error occurs. (default true)
  -append-noresvport-option
    	Whether appending noresvport option to nfs mount command (default true)
  -append-nosharesock-option
    	Whether appending nosharesock option to smb mount command (default true)
  -azurefile-proxy-endpoint string
    	azurefile-proxy endpoint (default "unix://tmp/azurefile-proxy.sock")
  -cloud-config-secret-name string
    	secret name of cloud config. If set to an empty string, the driver will not read cloud config from a Kubernetes secret. (default "azure-cloud-provider")
  -cloud-config-secret-namespace string
    	secret namespace of cloud config. If set to an empty string, the driver will not read cloud config from a Kubernetes secret. (default "kube-system")
  -custom-user-agent string
    	custom userAgent
  -drivername string
    	name of the driver (default "file.csi.azure.com")
  -enable-azurefile-proxy
    	enable azurefile proxy
  -enable-get-volume-stats
    	allow GET_VOLUME_STATS on agent node (default true)
  -enable-kata-cc-mount
    	enable Kata Confidential Containers mount
  -enable-vhd
    	enable VHD disk feature (experimental) (default true)
  -enable-volume-mount-group
    	indicates whether enabling VOLUME_MOUNT_GROUP (default true)
  -enable-windows-host-process
    	enable windows host process
  -endpoint string
    	CSI endpoint (default "unix://tmp/csi.sock")
  -fsgroup-change-policy string
    	indicates how the volume's ownership will be changed by the driver, OnRootMismatch is the default value
  -inline-volume-secret-authz string
    	authorize inline volume Secret references via SubjectAccessReview before mount: off|warn|enforce (default "off")
  -kube-api-burst int
    	Burst to use while communicating with the kubernetes apiserver. (default 50)
  -kube-api-qps float
    	QPS to use while communicating with the kubernetes apiserver. (default 25)
  -kubeconfig string
    	Absolute path to the kubeconfig file. Required only when running out of cluster.
  -legacy_stderr_threshold_behavior
    	If true, stderrthreshold is ignored when logtostderr=true (legacy behavior). If false, stderrthreshold is honored even when logtostderr=true (default true)
  -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)
  -max-procs int
    	maximum number of CPUs that can be executing simultaneously in golang runtime (default 2)
  -metrics-address string
    	export the metrics
  -mount-permissions uint
    	mounted folder permissions (default 511)
  -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)
  -print-volume-stats-call-logs
    	Whether to print volume statfs call logs with log level 2
  -remove-smb-mount-on-windows
    	remove smb global mapping on windows during unmount (default true)
  -sas-token-expiration-minutes int
    	sas token expiration minutes during volume cloning and snapshot restore (default 1440)
  -skip-matching-tag-cache-expire-in-minutes int
    	The cache expire time in minutes for skipMatchingTagCache (default 30)
  -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 unless -legacy_stderr_threshold_behavior=false) (default 2)
  -use-win-cim-api
    	Whether performing azure file operations using CIM API or Powershell command on Windows node (default true)
  -user-agent-suffix string
    	userAgent suffix
  -v value
    	number for the log level verbosity
  -version
    	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)
  -wait-for-azcopy-timeout-minutes int
    	timeout in minutes for waiting for azcopy to finish (default 19)
Options (52)
OptionDescriptionSource
-add_dir_headerIf true, adds the file directory to the header of the log messageshelp
-allow-empty-cloud-configallow running driver without cloud config (default true)help
-allow-inline-volume-key-access-with-identityallow accessing storage account key using cluster identity for inline volumehelp
-alsologtostderrlog to standard error as well as files (no effect when -logtostderr=true)help
-alsologtostderrthreshold valuelogs at or above this threshold go to stderr when -alsologtostderr=true (no effect when -logtostderr=true)help
-append-actimeo-optionWhether appending actimeo=0 option to nfs mount command (default true)help
-append-closetimeo-optionWhether appending closetimeo=0 option to smb mount commandhelp
-append-mount-error-help-linkWhether to include a link for help with mount errors when a mount error occurs.help
-append-noresvport-optionWhether appending noresvport option to nfs mount command (default true)help
-append-nosharesock-optionWhether appending nosharesock option to smb mount command (default true)help
-azurefile-proxy-endpoint stringazurefile-proxy endpoint (default "unix://tmp/azurefile-proxy.sock")help
-cloud-config-secret-name stringsecret name of cloud config.help
-cloud-config-secret-namespace stringsecret namespace of cloud config.help
-custom-user-agent stringcustom userAgenthelp
-drivername stringname of the driver (default "file.csi.azure.com")help
-enable-azurefile-proxyenable azurefile proxyhelp
-enable-get-volume-statsallow GET_VOLUME_STATS on agent node (default true)help
-enable-kata-cc-mountenable Kata Confidential Containers mounthelp
-enable-vhdenable VHD disk feature (experimental) (default true)help
-enable-volume-mount-groupindicates whether enabling VOLUME_MOUNT_GROUP (default true)help
-enable-windows-host-processenable windows host processhelp
-endpoint stringCSI endpoint (default "unix://tmp/csi.sock")help
-fsgroup-change-policy stringindicates how the volume's ownership will be changed by the driver, OnRootMismatch is the default valuehelp
-inline-volume-secret-authz stringauthorize inline volume Secret references via SubjectAccessReview before mount: off|warn|enforce (default "off")help
-kube-api-burst intBurst to use while communicating with the kubernetes apiserver.help
-kube-api-qps floatQPS to use while communicating with the kubernetes apiserver.help
-kubeconfig stringAbsolute path to the kubeconfig file.help
-legacy_stderr_threshold_behaviorIf true, stderrthreshold is ignored when logtostderr=true (legacy behavior).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
-max-procs intmaximum number of CPUs that can be executing simultaneously in golang runtime (default 2)help
-metrics-address stringexport the metricshelp
-mount-permissions uintmounted folder permissions (default 511)help
-nodeid stringnode idhelp
-one_outputIf true, only write logs to their native severity level (vs also writing to each lower severity level;help
-print-volume-stats-call-logsWhether to print volume statfs call logs with log level 2help
-remove-smb-mount-on-windowsremove smb global mapping on windows during unmount (default true)help
-sas-token-expiration-minutes intsas token expiration minutes during volume cloning and snapshot restore (default 1440)help
-skip-matching-tag-cache-expire-in-minutes intThe cache expire time in minutes for skipMatchingTagCache (default 30)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 unless -legacy_stderr_threshold_behavior=false) (default 2)help
-use-win-cim-apiWhether performing azure file operations using CIM API or Powershell command on Windows node (default true)help
-user-agent-suffix stringuserAgent suffixhelp
-v valuenumber for the log level verbosityhelp
-versionPrint 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
-wait-for-azcopy-timeout-minutes inttimeout in minutes for waiting for azcopy to finish (default 19)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.