Skip to content

smbdriver job from smb-volume/3.1.44

Github source: ace6579 or master branch

Properties

adminPort

port smbdriver listens on for admin requests

Default
8590

cell_mount_path

path to mount volumes into on the cell

Default
/var/vcap/data/volumes/smb

debug_addr

address smbdriver will serve debug info

Default
127.0.0.1:8689

disable

disable smbdriver

Default
false

driver_path

path to place driver spec/json file for volman to discover

Default
/var/vcap/data/voldrivers

force_noserverino

Force all SMB mounts to use the ‘noserverino’ mount option. Added to address ‘stale file handle’ errors after a xenial-to-jammy upgrade.

Default
false

listen_port

port smbdriver listens on

Default
8589

log_level

smbdriver log level

Default
info

log_time_format

Format for timestamp in component logs. Valid values are ‘unix-epoch’ and ‘rfc3339’.

Default
rfc3339

ssl

insecure_skip_verify

When connecting over SSL, skip verification of server IP addresses in the certificate

Default
false

tls

ca_cert

PEM encoded CA certificate. If not provided, driver will not accept TLS connections

Default
""
Example
'| -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'

client_cert

PEM encoded client certificate

Default
""
Example
'| -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'

client_key

PEM encoded client private key

Default
""
Example
'| -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----'

server_cert

PEM encoded server certificate

Default
""
Example
'| -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'

server_key

PEM encoded server private key

Default
""
Example
'| -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----'

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/smbdriver/ directory (learn more).

  • bin/drain (from drain.erb)
  • bin/pre-start (from pre-start.erb)
  • bin/smbdriver_ctl (from smbdriver_ctl.erb)
  • config/certs/ca.crt (from ca.crt.erb)
  • config/certs/client.crt (from client.crt.erb)
  • config/certs/client.key (from client.key.erb)
  • config/certs/server.crt (from server.crt.erb)
  • config/certs/server.key (from server.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.