OS Manuals

/usr/bin/nfsplugin

This driver allows Kubernetes to access NFS server on Linux node

From kubernetes-csi-driver-nfs 4.13.6-r0 (enterprise-packages), captured 2026-11-08 by running nfsplugin --help (exit 0). permalink

Usage of /usr/bin/nfsplugin:
  -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 "nfs.csi.k8s.io")
  -enable-snapshot-compression
    	enable compression when creating volume snapshots (default true)
  -endpoint string
    	CSI endpoint (default "unix://tmp/csi.sock")
  -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-snapshot-archive-size int
    	maximum snapshot archive file size in bytes (0 = unlimited)
  -max-snapshot-file-size int
    	maximum uncompressed size in bytes of any file in a snapshot archive (0 = unlimited)
  -max-snapshot-files int
    	maximum number of entries in a snapshot archive (0 = unlimited)
  -mount-permissions uint
    	mounted folder permissions
  -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
  -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)
  -use-tar-command-in-snapshot
    	use tar command to pack and unpack snapshot data
  -v value
    	number for the log level verbosity
  -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 nfs shares temporarily (default "/tmp")
Options (26)
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 "nfs.csi.k8s.io")help
-enable-snapshot-compressionenable compression when creating volume snapshots (default true)help
-endpoint stringCSI endpoint (default "unix://tmp/csi.sock")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-snapshot-archive-size intmaximum snapshot archive file size in bytes (0 = unlimited)help
-max-snapshot-file-size intmaximum uncompressed size in bytes of any file in a snapshot archive (0 = unlimited)help
-max-snapshot-files intmaximum number of entries in a snapshot archive (0 = unlimited)help
-mount-permissions uintmounted folder permissionshelp
-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 DeleteVolumehelp
-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
-use-tar-command-in-snapshotuse tar command to pack and unpack snapshot datahelp
-v valuenumber for the log level verbosityhelp
-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 nfs 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.