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

NAME

6       vfs_crossrename - server side rename files across filesystem boundaries
7

SYNOPSIS

9       vfs objects = crossrename
10

DESCRIPTION

12       This VFS module is part of the samba(7) suite.
13
14       The vfs_crossrename VFS module allows server side rename operations
15       even if source and target are on different physical devices. A "move"
16       in Explorer is usually a rename operation if it is inside of a single
17       share or device. Usually such a rename operation returns
18       NT_STATUS_NOT_SAME_DEVICE and the client has to move the file by manual
19       copy and delete operations. If the rename by copy is done by the server
20       this can be much more efficient. vfs_crossrename tries to do this
21       server-side cross-device rename operation.
22
23       There are however limitations that this module currently does not
24       solve:
25
26           The ACLs of files are not preserved,
27
28           meta data in EAs are not preserved,
29
30           renames of whole subdirectories cannot be done recursively, in that
31           case we still return STATUS_NOT_SAME_DEVICE and let the client
32           decide what to do,
33
34           rename operations of huge files can cause hangs on the client
35           because clients expect a rename operation to return fast.
36
37       This module is stackable.
38

OPTIONS

40       crossrename:sizelimit = BYTES
41           server-side cross-device-renames are only done for files if the
42           filesize is not larger than the defined size in MiB to prevent
43           timeouts. The default sizelimit is 20 (MiB)
44

EXAMPLES

46       To add server-side cross-device renames inside of a share for all files
47       sized up to 50MB:
48
49                   [testshare]
50                path = /data/mounts
51                vfs objects = crossrename
52                crossrename:sizelimit = 50
53

VERSION

55       This man page is part of version 4.15.2 of the Samba suite.
56

AUTHOR

58       The original Samba software and related utilities were created by
59       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
60       Source project similar to the way the Linux kernel is developed.
61
62
63
64Samba 4.15.2                      11/13/2021                VFS_CROSSRENAME(8)
Impressum