-
Notifications
You must be signed in to change notification settings - Fork 0
/
tn008.html.in
18 lines (15 loc) · 1.44 KB
/
tn008.html.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div id="content">
<h1>[TN#008] Limiting the available size of Time Machine volumes</h1>
<dl>
<dt><strong>Author</strong></dt>
<dd>Ralph Böhme</dd>
<dt><strong>Published on</strong></dt>
<dd>December 1, 2011</dd>
</dl>
<p>With the help of a Netatalk configuration option (<em>volsizelimit</em>) it is possible to limit the available space of AFP shares.</p>
<p>The implementation of this feature received an important change in the release of <strong>Netatalk 2.2.1-p7</strong>, such that it is now <strong>not supported</strong> to store any other data besides the Time Machine backupdata on these AFP shares.</p>
<p><span style="text-decoration: underline;">Details:</span></p>
<p>In prior versions the space usage of the AFP volumes was calculated by recursively walking the whole filesystem and stating every filesystem object for size information. Although the resulting value was cached for some time, for large volumes and low power hosts the process might take up to 60 s seconds which results in a tremedous slow down of TimeMachine operation.</p>
<p>Starting with <strong>Netatalk 2.2.1-p7</strong> the calculation works as follows:</p>
<p>The Info.plist XML file of the sparsebundle is searched for the band size of the Time Machine sparse-bundle, then reading the bands/ directory counting the number of band files, and then multiplying one with the other. The resulting value is cached for 60 seconds and updated by the amount of new written data.</p>
</div>