source: trunk/server/docs/htmldocs/manpages/vfs_crossrename.8.html

Last change on this file was 862, checked in by Silvan Scherrer, 11 years ago

Samba Server: update trunk to 3.6.23

File size: 3.1 KB
Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>vfs_crossrename</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" title="vfs_crossrename"><a name="vfs_crossrename.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>vfs_crossrename &#8212; server side rename files across filesystem boundaries</p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">vfs objects = crossrename</code></p></div></div><div class="refsect1" title="DESCRIPTION"><a name="id266340"></a><h2>DESCRIPTION</h2><p>This VFS module is part of the
2 <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p>The <code class="literal">vfs_crossrename</code> VFS module allows
3 server side rename operations even if source and target are on
4 different physical devices. A "move" in Explorer is usually a
5 rename operation if it is inside of a single share or device.
6 Usually such a rename operation returns
7 NT_STATUS_NOT_SAME_DEVICE and the client has to move the file by
8 manual copy and delete operations. If the rename by copy is done by the
9 server this can be much more efficient. vfs_crossrename tries to do
10 this server-side cross-device rename operation. There are however
11 limitations that this module currently does not solve:
12
13 </p><div class="variablelist"><dl><dt></dt><dd></dd><dt></dt><dd></dd><dt></dt><dd></dd><dt></dt><dd></dd></dl></div><p>
14 </p><p>This module is stackable.</p></div><div class="refsect1" title="OPTIONS"><a name="id266849"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">crossrename:sizelimit = BYTES</span></dt><dd><p>server-side cross-device-renames are only done
15 for files if the filesize is not larger than the defined
16 size in MiB to prevent timeouts. The default sizelimit is
17 20 (MiB)
18 </p></dd></dl></div></div><div class="refsect1" title="EXAMPLES"><a name="id266874"></a><h2>EXAMPLES</h2><p>To add server-side cross-device renames inside of a share
19 for all files sized up to 50MB:</p><pre class="programlisting">
20 <em class="parameter"><code>[testshare]</code></em>
21 <a class="link" href="smb.conf.5.html#PATH" target="_top">path = /data/mounts</a>
22 <a class="link" href="smb.conf.5.html#VFSOBJECTS" target="_top">vfs objects = crossrename</a>
23 <a class="link" href="smb.conf.5.html#CROSSRENAME:SIZELIMIT" target="_top">crossrename:sizelimit = 50</a>
24</pre></div><div class="refsect1" title="VERSION"><a name="id265827"></a><h2>VERSION</h2><p>This man page is correct for version 3.6.0 of the Samba suite.
25 </p></div><div class="refsect1" title="AUTHOR"><a name="id265837"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
26 were created by Andrew Tridgell. Samba is now developed
27 by the Samba Team as an Open Source project similar
28 to the way the Linux kernel is developed.</p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.