From SambaWiki
Revision as of 16:45, 24 March 2015 by Sfrench (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


The CIFS VFS is a virtual file system for Linux to allow access to servers and storage appliances compliant with the SNIA CIFS Specification version 1.0 or later. Popular servers such as Samba, Windows 2000, Windows XP and many others support CIFS by default.

The CIFS VFS provides some support for older servers based on the more primitive SMB (Server Message Block) protocol (you also can use the Linux file system smbfs as an alternative for accessing these). CIFS VFS is designed to take advantage of advanced network file system features such as locking, Unicode (advanced internationalization), hardlinks, dfs (hierarchical, replicated name space), distributed caching and uses native TCP names (rather than RFC1001, Netbios names). Unlike some other network file systems all key network function including authentication is provided in kernel (and changes to mount and/or a mount helper file are not required in order to enable the CIFS VFS).

The CIFS VFS was added to mainline Linux kernels in 2.5.42. While only peripherally related to SAMBA, the cifs client userspace tools are hosted in a separate tree on

The development tree for future improvements to the cifs kernel client is [1]. A list of the cifs kernel client improvements by kernel release is included on the LinuxCIFSKernel page.

The current support for CIFS, SMB2, SMB2.1 and SMB3 dialects are stable and tested, and use of either CIFS or SMB3 (vers=1 or vers=3.0 on mount) is recommended depending on server type and workload. The status of implementation of optional SMB3 protocol features in the kernel client can be found at the SMB3_kernel_status page.

Userspace Utilities

Most of the cifs code is implemented as part of the Linux kernel. There are some userspace pieces that are maintained separately as part of the cifs-utils project. Information on that is available on the LinuxCIFS_utils page.

Mailing List

Discussion of the Linux CIFS Client takes place primarily on the linux-cifs mailing list:

If you're planning to ask for help, please read over the LinuxCIFS_troubleshooting page first.