CIFS (Windows File Sharing)

New CIFS filesystem items can be added.

CIFS filesystem

A CIFS network filesystem.

Properties

Enable

Enable this filesystem.

  • Data type: boolean
  • Default: true
  • Configuration

CLI: (cli)> config storage cifs <key> enable

Label

The label used to describe and locate this filesystem.

  • Data type: string
  • Configuration
  • Optional

CLI: (cli)> config storage cifs <key> label

Resource tags

Apply these tags to resources associated with this filesystem.

  • Data type: string list
  • Configuration

CLI: (cli)> config storage cifs <key> tags

Available

Is this filesystem available.

  • Data type: boolean
  • Status

CLI: (cli)> show storage cifs <key> available

Host

The host the CIFS server is located on.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config storage cifs <key> host

Share Name

The name of the CIFS share on the server.

  • Data type: string
  • Configuration
  • Required

CLI: (cli)> config storage cifs <key> share-name

Mount type

The type of CIFS mount.

OptionLabelDescription
roRead-OnlyOnly read requests are allowed on this volume.
rwRead-WriteRead/Write requests are allowed on this volume.
  • Data type: string select
  • Default: rw
  • Configuration
  • Required

CLI: (cli)> config storage cifs <key> mount-type

CIFS Version

Select the CIFS version to use.

OptionLabelDescription
noneNot SpecifiedClient will negotiate the highest possible version
v1CIFS v1Use when connecting to older SMB servers
v2CIFS v2Use when connecting to Windows Vista/Server 2008
v3CIFS v3Use when connecting to Windows 8/Server 2012
v3.0.2CIFS v3.0.2Use when connecting to Windows 8.1/Server 2012R2
v3.1.1CIFS v3.1.1Use when connecting to Windows 10/Server 2016 and newer
  • Data type: string select
  • Default: none
  • Configuration
  • Required

CLI: (cli)> config storage cifs <key> cifs-version