VFS_FILEID(1M) System Administration tools VFS_FILEID(1M)NAME
vfs_fileid - Generates file_id structs with unique device id values for
cluster setups
SYNOPSIS
vfs objects = fileid
DESCRIPTION
This VFS module is part of the samba(7) suite.
Samba uses file_id structs to uniquely identify files for locking
purpose. By default the file_id contains the device and inode number
returned by the stat() system call. As the file_id is a unique
identifier of a file, it must be the same on all nodes in a cluster
setup. This module overloads the SMB_VFS_FILE_ID_CREATE() operation and
generates the device number based on the configured algorithm (see the
"fileid:algorithm" option).
OPTIONS
fileid:algorithm = ALGORITHM
Available algorithms are fsname and fsid. The default value is
fsname.
The fsname algorithm generates device id by hashing the kernel
device name.
The fsid algorithm generates the device id from the f_fsid returned
from the statfs() syscall.
fileid:mapping = ALGORITHM
This option is the legacy version of the fileid:algorithm option,
which was used in earlier versions of fileid mapping feature in
custom Samba 3.0 versions.
EXAMPLES
Usage of the fileid module with the fsid algorithm:
[global]
vfs objects = fileid
fileid:algorithm = fsid
VERSION
This man page is correct for version 3.2 of the Samba suite.
AUTHOR
The original Samba software and related utilities were created by
Andrew Tridgell. Samba is now developed by the Samba Team as an Open
Source project similar to the way the Linux kernel is developed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌────────────────────┬─────────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├────────────────────┼─────────────────────────────────┤
│Availability │ SUNWsmbar, SUNWsmbac, SUNWsmbau │
├────────────────────┼─────────────────────────────────┤
│Interface Stability │ External │
└────────────────────┴─────────────────────────────────┘
NOTES
Source code for Samba is available in the SUNWsmbaS package.
Samba(7) delivers the set of four SMF(5) services as can be seen from
the following example:
$ svcs samba wins winbind swat
STATE STIME FMRI
disabled Apr_21 svc:/network/samba:default
disabled Apr_21 svc:/network/winbind:default
disabled Apr_21 svc:/network/wins:default
disabled Apr_21 svc:/network/swat:default
where the services are:
"samba"
runs the smbd daemon managing the CIFS sessions
"wins"
runs the nmbd daemon enabling the browsing (WINS)
"winbind"
runs the winbindd daemon making the domain idmap
"swat"
Samba Web Administration Tool is a service providing access to
browser-based Samba administration interface and on-line
documentation. The service runs on software loopback network
interface on port 901/tcp, i.e. opening "http://localhost:901/" in
browser will access the SWAT service on local machine.
Please note: SWAT uses HTTP Basic Authentication scheme where user name
and passwords are sent over the network in clear text. In the SWAT case
the user name is root. Transferring such sensitive data is advisable
only on the software loopback network interface or over secure
networks.
Samba 3.6 04/10/2012 VFS_FILEID(1M)