| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <refentry version="5.0" xmlns="http://docbook.org/ns/docbook" |
|---|
| 3 | xmlns:xlink="http://www.w3.org/1999/xlink" |
|---|
| 4 | xmlns:xi="http://www.w3.org/2001/XInclude" |
|---|
| 5 | xmlns:svg="http://www.w3.org/2000/svg" |
|---|
| 6 | xmlns:m="http://www.w3.org/1998/Math/MathML" |
|---|
| 7 | xmlns:html="http://www.w3.org/1999/xhtml" |
|---|
| 8 | xmlns:db="http://docbook.org/ns/docbook"> |
|---|
| 9 | <refmeta> |
|---|
| 10 | <refentrytitle>raidfile.conf</refentrytitle> |
|---|
| 11 | |
|---|
| 12 | <manvolnum>5</manvolnum> |
|---|
| 13 | |
|---|
| 14 | <refmiscinfo class="manual">Box Backup</refmiscinfo> |
|---|
| 15 | |
|---|
| 16 | <refmiscinfo class="source">Box Backup</refmiscinfo> |
|---|
| 17 | |
|---|
| 18 | <refmiscinfo class="version">0.11</refmiscinfo> |
|---|
| 19 | </refmeta> |
|---|
| 20 | |
|---|
| 21 | <refnamediv> |
|---|
| 22 | <refname>raidfile.conf</refname> |
|---|
| 23 | |
|---|
| 24 | <refpurpose>Userland RAID for Box Backup</refpurpose> |
|---|
| 25 | </refnamediv> |
|---|
| 26 | |
|---|
| 27 | <refsynopsisdiv> |
|---|
| 28 | <cmdsynopsis> |
|---|
| 29 | <command>/etc/box/raidfile.conf</command> |
|---|
| 30 | </cmdsynopsis> |
|---|
| 31 | </refsynopsisdiv> |
|---|
| 32 | |
|---|
| 33 | <refsection> |
|---|
| 34 | <title>Description</title> |
|---|
| 35 | |
|---|
| 36 | <para>The raidfile.conf is usually generated by <citerefentry> |
|---|
| 37 | <refentrytitle>raidfile-config</refentrytitle> |
|---|
| 38 | |
|---|
| 39 | <manvolnum>8</manvolnum> |
|---|
| 40 | </citerefentry> but may be manually edited if the store locations move |
|---|
| 41 | or if more than one disc set is required.</para> |
|---|
| 42 | |
|---|
| 43 | <para><variablelist> |
|---|
| 44 | <varlistentry> |
|---|
| 45 | <term>disc<varname>X</varname></term> |
|---|
| 46 | |
|---|
| 47 | <listitem> |
|---|
| 48 | <para>Specifies a set of discs.</para> |
|---|
| 49 | |
|---|
| 50 | <para><variablelist> |
|---|
| 51 | <varlistentry> |
|---|
| 52 | <term><varname>SetNumber</varname></term> |
|---|
| 53 | |
|---|
| 54 | <listitem> |
|---|
| 55 | <para>The set number of the RAID disc, referenced by each |
|---|
| 56 | account.</para> |
|---|
| 57 | </listitem> |
|---|
| 58 | </varlistentry> |
|---|
| 59 | |
|---|
| 60 | <varlistentry> |
|---|
| 61 | <term><varname>BlockSize</varname></term> |
|---|
| 62 | |
|---|
| 63 | <listitem> |
|---|
| 64 | <para>The block size of the file system (usually 2048). |
|---|
| 65 | Under BSD with FFS, set this to your file system's |
|---|
| 66 | fragment size (most likely an 8th of the block |
|---|
| 67 | size).</para> |
|---|
| 68 | </listitem> |
|---|
| 69 | </varlistentry> |
|---|
| 70 | |
|---|
| 71 | <varlistentry> |
|---|
| 72 | <term><varname>Dir0</varname></term> |
|---|
| 73 | |
|---|
| 74 | <listitem> |
|---|
| 75 | <para>The first directory in the RAID array.</para> |
|---|
| 76 | </listitem> |
|---|
| 77 | </varlistentry> |
|---|
| 78 | |
|---|
| 79 | <varlistentry> |
|---|
| 80 | <term><varname>Dir1</varname></term> |
|---|
| 81 | |
|---|
| 82 | <listitem> |
|---|
| 83 | <para>The second directory in the RAID array. If you do |
|---|
| 84 | not wish to use the built-in RAID functionality, this |
|---|
| 85 | field should be set to the same as |
|---|
| 86 | <varname>Dir0</varname>. You should not use the built-in |
|---|
| 87 | RAID if you have a hardware RAID solution or if you're |
|---|
| 88 | using another type of software RAID (like md on |
|---|
| 89 | Linux).</para> |
|---|
| 90 | </listitem> |
|---|
| 91 | </varlistentry> |
|---|
| 92 | |
|---|
| 93 | <varlistentry> |
|---|
| 94 | <term><varname>Dir2</varname></term> |
|---|
| 95 | |
|---|
| 96 | <listitem> |
|---|
| 97 | <para>The third directory in the RAID array. The same |
|---|
| 98 | notes that apply to <varname>Dir2</varname> also apply to |
|---|
| 99 | <varname>Dir3</varname>.</para> |
|---|
| 100 | </listitem> |
|---|
| 101 | </varlistentry> |
|---|
| 102 | </variablelist></para> |
|---|
| 103 | </listitem> |
|---|
| 104 | </varlistentry> |
|---|
| 105 | </variablelist></para> |
|---|
| 106 | </refsection> |
|---|
| 107 | |
|---|
| 108 | <refsection> |
|---|
| 109 | <title>Files</title> |
|---|
| 110 | |
|---|
| 111 | <para><filename>/etc/box/raidfile.conf</filename></para> |
|---|
| 112 | </refsection> |
|---|
| 113 | |
|---|
| 114 | <refsection> |
|---|
| 115 | <title>See Also</title> |
|---|
| 116 | |
|---|
| 117 | <para><citerefentry> |
|---|
| 118 | <refentrytitle>raidfile-config</refentrytitle> |
|---|
| 119 | |
|---|
| 120 | <manvolnum>8</manvolnum> |
|---|
| 121 | </citerefentry>, <citerefentry> |
|---|
| 122 | <refentrytitle>bbstored.conf</refentrytitle> |
|---|
| 123 | |
|---|
| 124 | <manvolnum>5</manvolnum> |
|---|
| 125 | </citerefentry></para> |
|---|
| 126 | </refsection> |
|---|
| 127 | |
|---|
| 128 | <refsection> |
|---|
| 129 | <title>Authors</title> |
|---|
| 130 | |
|---|
| 131 | <para><author> |
|---|
| 132 | <personname>Ben Summers</personname> |
|---|
| 133 | </author></para> |
|---|
| 134 | |
|---|
| 135 | <para><author> |
|---|
| 136 | <personname>Per Thomsen</personname> |
|---|
| 137 | </author></para> |
|---|
| 138 | |
|---|
| 139 | <para><author> |
|---|
| 140 | <personname>James O'Gorman</personname> |
|---|
| 141 | </author></para> |
|---|
| 142 | </refsection> |
|---|
| 143 | </refentry> |
|---|