1VFS_FILEID(8)             System Administration tools            VFS_FILEID(8)
2
3
4

NAME

6       vfs_fileid - Generates file_id structs with unique device id values for
7       cluster setups
8

SYNOPSIS

10       vfs objects = fileid
11

DESCRIPTION

13       This VFS module is part of the samba(7) suite.
14
15       Samba uses file_id structs to uniquely identify files for locking
16       purpose. By default the file_id contains the device and inode number
17       returned by the stat() system call. As the file_id is a unique
18       identifier of a file, it must be the same on all nodes in a cluster
19       setup. This module overloads the SMB_VFS_FILE_ID_CREATE() operation and
20       generates the device number based on the configured algorithm (see the
21       "fileid:algorithm" option).
22

OPTIONS

24       fileid:algorithm = ALGORITHM
25           Available algorithms are fsname and fsid. The default value is
26           fsname.
27
28           The fsname algorithm generates device id by hashing the kernel
29           device name.
30
31           The fsid algorithm generates the device id from the f_fsid returned
32           from the statfs() syscall.
33
34       fileid:mapping = ALGORITHM
35           This option is the legacy version of the fileid:algorithm option,
36           which was used in earlier versions of fileid mapping feature in
37           custom Samba 3.0 versions.
38

EXAMPLES

40       Usage of the fileid module with the fsid algorithm:
41
42                   [global]
43                vfs objects = fileid
44                fileid:algorithm = fsid
45

VERSION

47       This man page is correct for version 3.2 of the Samba suite.
48

AUTHOR

50       The original Samba software and related utilities were created by
51       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
52       Source project similar to the way the Linux kernel is developed.
53
54
55
56Samba 3.5                         08/02/2011                     VFS_FILEID(8)
Impressum