GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VFS_CROSSRENAME (8)

.ds Aq ’

NAME

vfs_crossrename - server side rename files across filesystem boundaries

CONTENTS

SYNOPSIS

vfs objects = crossrename

DESCRIPTION

This VFS module is part of the samba(7) suite.

The vfs_crossrename VFS module allows server side rename operations even if source and target are on different physical devices. A "move" in Explorer is usually a rename operation if it is inside of a single share or device. Usually such a rename operation returns NT_STATUS_NOT_SAME_DEVICE and the client has to move the file by manual copy and delete operations. If the rename by copy is done by the server this can be much more efficient. vfs_crossrename tries to do this server-side cross-device rename operation.

There are however limitations that this module currently does not solve:

The ACLs of files are not preserved,

meta data in EAs are not preserved,

renames of whole subdirectories cannot be done recursively, in that case we still return STATUS_NOT_SAME_DEVICE and let the client decide what to do,

rename operations of huge files can cause hangs on the client because clients expect a rename operation to return fast.

This module is stackable.

OPTIONS

crossrename:sizelimit = BYTES

server-side cross-device-renames are only done for files if the filesize is not larger than the defined size in MiB to prevent timeouts. The default sizelimit is 20 (MiB)

EXAMPLES

To add server-side cross-device renames inside of a share for all files sized up to 50MB:

        [testshare]
        \m[blue]path = /data/mounts\m[]
        \m[blue]vfs objects = crossrename\m[]
        \m[blue]crossrename:sizelimit = 50\m[]

VERSION

This man page is correct for version 4.0.0 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.

Search for    or go to Top of page |  Section 8 |  Main Index


Samba 4&.3 VFS_CROSSRENAME (8) 04/11/2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.