| 1 | .TH TAHOE 1 "" "tahoe User Manual" |
|---|
| 2 | .SH NAME |
|---|
| 3 | .PP |
|---|
| 4 | tahoe - Secure distributed filesystem. |
|---|
| 5 | .SH SYNOPSIS |
|---|
| 6 | .PP |
|---|
| 7 | tahoe [general options] [command] [command options] |
|---|
| 8 | .SH GENERAL OPTIONS |
|---|
| 9 | .TP |
|---|
| 10 | .B \f[B]-q,\ --quiet\f[] |
|---|
| 11 | Operate silently. |
|---|
| 12 | .RS |
|---|
| 13 | .RE |
|---|
| 14 | .TP |
|---|
| 15 | .B \f[B]-V,\ --version\f[] |
|---|
| 16 | Display version numbers. |
|---|
| 17 | .RS |
|---|
| 18 | .RE |
|---|
| 19 | .TP |
|---|
| 20 | .B \f[B]--version-and-path\f[] |
|---|
| 21 | Display version numbers and paths to their locations. |
|---|
| 22 | .RS |
|---|
| 23 | .RE |
|---|
| 24 | .TP |
|---|
| 25 | .B \f[B]-d,\ --node-directory\f[] |
|---|
| 26 | Specify which Tahoe node directory should be used. |
|---|
| 27 | (default for most commands: `$HOME/.tahoe') |
|---|
| 28 | .RS |
|---|
| 29 | .RE |
|---|
| 30 | .SH COMMANDS |
|---|
| 31 | .PP |
|---|
| 32 | The \f[B]tahoe\f[] runner can be used for various tasks depending |
|---|
| 33 | on the command used. |
|---|
| 34 | .SS ADMINISTRATION |
|---|
| 35 | .PP |
|---|
| 36 | tahoe [command] [command options] [NODEDIR] |
|---|
| 37 | .RS |
|---|
| 38 | .SS COMMANDS |
|---|
| 39 | .TP |
|---|
| 40 | .B \f[B]create-node\f[] |
|---|
| 41 | Create a node that acts as a client, server or both. |
|---|
| 42 | .TP |
|---|
| 43 | .B \f[B]create-client\f[] |
|---|
| 44 | Create a client node (with storage initially disabled). |
|---|
| 45 | .TP |
|---|
| 46 | .B \f[B]create-introducer\f[] |
|---|
| 47 | Create an introducer node. |
|---|
| 48 | .TP |
|---|
| 49 | .B \f[B]create-key-generator\f[] |
|---|
| 50 | Create a key generator service. |
|---|
| 51 | .TP |
|---|
| 52 | .B \f[B]create-stats-gatherer\f[] |
|---|
| 53 | Create a stats-gatherer service. |
|---|
| 54 | .SS OPTIONS |
|---|
| 55 | .TP |
|---|
| 56 | .B \f[B]-C,\ --basedir=\f[] |
|---|
| 57 | Same as \[em]node-directory. |
|---|
| 58 | .TP |
|---|
| 59 | .B \f[B]-d,\ --node-directory=\f[] |
|---|
| 60 | Specify which Tahoe node directory should be used. |
|---|
| 61 | (default for most commands: \f[B]$HOME/.tahoe/\f[]). |
|---|
| 62 | .TP |
|---|
| 63 | .B \f[B]-n,\ --nickname=\f[] |
|---|
| 64 | Specify the nickname for this node (\f[B]create-node\f[] and |
|---|
| 65 | \f[B]create-client\f[] only). |
|---|
| 66 | .TP |
|---|
| 67 | .B \f[B]-i,\ --introducer=\f[] |
|---|
| 68 | Specify the introducer FURL to use (\f[B]create-node\f[] and |
|---|
| 69 | \f[B]create-client\f[] only). |
|---|
| 70 | .TP |
|---|
| 71 | .B \f[B]-p,\ --webport=\f[] |
|---|
| 72 | Specify which TCP port to run the HTTP interface on. |
|---|
| 73 | Use `none' to disable. |
|---|
| 74 | Default: tcp:3456:interface=127.0.0.1 (\f[B]create-node\f[] and |
|---|
| 75 | \f[B]create-client\f[] only). |
|---|
| 76 | .TP |
|---|
| 77 | .B \f[B]--no-storage\f[] |
|---|
| 78 | Do not offer storage service to other nodes (\f[B]create-node\f[] |
|---|
| 79 | only). |
|---|
| 80 | .RE |
|---|
| 81 | .SS CONTROLLING NODES |
|---|
| 82 | .PP |
|---|
| 83 | tahoe [command] [command options] [NODEDIR] |
|---|
| 84 | .SS COMMANDS |
|---|
| 85 | .TP |
|---|
| 86 | .B \f[B]start\f[] |
|---|
| 87 | Start a node (of any type). |
|---|
| 88 | .RS |
|---|
| 89 | .RE |
|---|
| 90 | .TP |
|---|
| 91 | .B \f[B]stop\f[] |
|---|
| 92 | Stop a node. |
|---|
| 93 | .RS |
|---|
| 94 | .RE |
|---|
| 95 | .TP |
|---|
| 96 | .B \f[B]restart\f[] |
|---|
| 97 | Restart a node. |
|---|
| 98 | .RS |
|---|
| 99 | .RE |
|---|
| 100 | .TP |
|---|
| 101 | .B \f[B]run\f[] |
|---|
| 102 | Run a node synchronously. |
|---|
| 103 | .RS |
|---|
| 104 | .RE |
|---|
| 105 | .SS OPTIONS |
|---|
| 106 | .TP |
|---|
| 107 | .B \f[B]-p,\ --profile\f[] |
|---|
| 108 | Run under the Python profiler, putting results in |
|---|
| 109 | `profiling_results.prof' (use with \f[B]start\f[] or |
|---|
| 110 | \f[B]restart\f[] only). |
|---|
| 111 | .RS |
|---|
| 112 | .RE |
|---|
| 113 | .TP |
|---|
| 114 | .B \f[B]--syslog\f[] |
|---|
| 115 | Tell the node to log to syslog, not a file (use with \f[B]start\f[] |
|---|
| 116 | or \f[B]restart\f[] only). |
|---|
| 117 | .RS |
|---|
| 118 | .RE |
|---|
| 119 | .TP |
|---|
| 120 | .B \f[B]-C,\ --basedir=\f[] |
|---|
| 121 | Same as \[em]node-directory. |
|---|
| 122 | .RS |
|---|
| 123 | .RE |
|---|
| 124 | .TP |
|---|
| 125 | .B \f[B]-d,\ --node-directory=\f[] |
|---|
| 126 | Specify which Tahoe node directory should be used (default for most |
|---|
| 127 | commands: `$HOME/.tahoe/'). |
|---|
| 128 | .RS |
|---|
| 129 | .RE |
|---|
| 130 | .TP |
|---|
| 131 | .B \f[B]--help\f[] |
|---|
| 132 | Display help and exit |
|---|
| 133 | .RS |
|---|
| 134 | .RE |
|---|
| 135 | .SS USING THE FILSYSTEM |
|---|
| 136 | .TP |
|---|
| 137 | .B \f[B]mkdir\f[] |
|---|
| 138 | Create a new directory. |
|---|
| 139 | .RS |
|---|
| 140 | .RE |
|---|
| 141 | .TP |
|---|
| 142 | .B \f[B]add-alias\f[] |
|---|
| 143 | Add a new alias cap. |
|---|
| 144 | .RS |
|---|
| 145 | .RE |
|---|
| 146 | .TP |
|---|
| 147 | .B \f[B]create-alias\f[] |
|---|
| 148 | Create a new alias cap. |
|---|
| 149 | .RS |
|---|
| 150 | .RE |
|---|
| 151 | .TP |
|---|
| 152 | .B \f[B]list-aliases\f[] |
|---|
| 153 | List all alias caps. |
|---|
| 154 | .RS |
|---|
| 155 | .RE |
|---|
| 156 | .TP |
|---|
| 157 | .B \f[B]ls\f[] |
|---|
| 158 | List a directory. |
|---|
| 159 | .RS |
|---|
| 160 | .RE |
|---|
| 161 | .TP |
|---|
| 162 | .B \f[B]get\f[] |
|---|
| 163 | Retrieve a file from the grid. |
|---|
| 164 | .RS |
|---|
| 165 | .RE |
|---|
| 166 | .TP |
|---|
| 167 | .B \f[B]put\f[] |
|---|
| 168 | Upload a file into the grid. |
|---|
| 169 | .RS |
|---|
| 170 | .RE |
|---|
| 171 | .TP |
|---|
| 172 | .B \f[B]cp\f[] |
|---|
| 173 | Copy one or more files or directories. |
|---|
| 174 | .RS |
|---|
| 175 | .RE |
|---|
| 176 | .TP |
|---|
| 177 | .B \f[B]rm\f[] |
|---|
| 178 | Unlink a file or directory on the grid. |
|---|
| 179 | .RS |
|---|
| 180 | .RE |
|---|
| 181 | .TP |
|---|
| 182 | .B \f[B]unlink\f[] |
|---|
| 183 | Unlink a file or directory on the grid (same as \f[B]rm\f[]). |
|---|
| 184 | .RS |
|---|
| 185 | .RE |
|---|
| 186 | .TP |
|---|
| 187 | .B \f[B]mv\f[] |
|---|
| 188 | Move a file within the grid. |
|---|
| 189 | .RS |
|---|
| 190 | .RE |
|---|
| 191 | .TP |
|---|
| 192 | .B \f[B]ln\f[] |
|---|
| 193 | Make an additional link to an existing file or directory. |
|---|
| 194 | .RS |
|---|
| 195 | .RE |
|---|
| 196 | .TP |
|---|
| 197 | .B \f[B]backup\f[] |
|---|
| 198 | Make target dir look like local dir. |
|---|
| 199 | .RS |
|---|
| 200 | .RE |
|---|
| 201 | .TP |
|---|
| 202 | .B \f[B]webopen\f[] |
|---|
| 203 | Open a web browser to a grid file or directory. |
|---|
| 204 | .RS |
|---|
| 205 | .RE |
|---|
| 206 | .TP |
|---|
| 207 | .B \f[B]manifest\f[] |
|---|
| 208 | List all files/directories in a subtree. |
|---|
| 209 | .RS |
|---|
| 210 | .RE |
|---|
| 211 | .TP |
|---|
| 212 | .B \f[B]stats\f[] |
|---|
| 213 | Print statistics about all files/directories in a subtree. |
|---|
| 214 | .RS |
|---|
| 215 | .RE |
|---|
| 216 | .TP |
|---|
| 217 | .B \f[B]check\f[] |
|---|
| 218 | Check a single file or directory. |
|---|
| 219 | .RS |
|---|
| 220 | .RE |
|---|
| 221 | .TP |
|---|
| 222 | .B \f[B]deep-check\f[] |
|---|
| 223 | Check all files/directories reachable from a starting point |
|---|
| 224 | .RS |
|---|
| 225 | .RE |
|---|
| 226 | .SS OPTIONS |
|---|
| 227 | .PP |
|---|
| 228 | Please run `tahoe COMMAND \[em]help' for more details on each |
|---|
| 229 | command. |
|---|
| 230 | .SS DEBUGGING |
|---|
| 231 | .PP |
|---|
| 232 | tahoe debug SUBCOMMAND |
|---|
| 233 | .SS SUBCOMMANDS |
|---|
| 234 | .TP |
|---|
| 235 | .B \f[B]dump-share\f[] |
|---|
| 236 | Unpack and display the contents of a share. |
|---|
| 237 | .RS |
|---|
| 238 | .RE |
|---|
| 239 | .TP |
|---|
| 240 | .B \f[B]dump-cap\f[] |
|---|
| 241 | Unpack a read-cap or write-cap. |
|---|
| 242 | .RS |
|---|
| 243 | .RE |
|---|
| 244 | .TP |
|---|
| 245 | .B \f[B]find-shares\f[] |
|---|
| 246 | Locate sharefiles in node directories. |
|---|
| 247 | .RS |
|---|
| 248 | .RE |
|---|
| 249 | .TP |
|---|
| 250 | .B \f[B]catalog-shares\f[] |
|---|
| 251 | Describe all shares in node dirs. |
|---|
| 252 | .RS |
|---|
| 253 | .RE |
|---|
| 254 | .TP |
|---|
| 255 | .B \f[B]corrupt-share\f[] |
|---|
| 256 | Corrupt a share by flipping a bit. |
|---|
| 257 | .RS |
|---|
| 258 | .RE |
|---|
| 259 | .TP |
|---|
| 260 | .B \f[B]repl\f[] |
|---|
| 261 | Open a Python interpreter. |
|---|
| 262 | .RS |
|---|
| 263 | .RE |
|---|
| 264 | .TP |
|---|
| 265 | .B \f[B]trial\f[] |
|---|
| 266 | Run tests using Twisted Trial with the right imports. |
|---|
| 267 | .RS |
|---|
| 268 | .RE |
|---|
| 269 | .PP |
|---|
| 270 | Please run e.g.\ `tahoe debug dump-share \[em]help' for more |
|---|
| 271 | details on each subcommand. |
|---|
| 272 | .PP |
|---|
| 273 | Another debugging feature is that bin/tahoe allows executing an |
|---|
| 274 | arbitrary \[lq]runner\[rq] command (typically an installed Python |
|---|
| 275 | script, such as `coverage'), with the Tahoe libraries on the |
|---|
| 276 | PYTHONPATH. |
|---|
| 277 | The runner command name is prefixed with `\@', and any occurrences |
|---|
| 278 | of `\@tahoe' in its arguments are replaced by the full path to the |
|---|
| 279 | tahoe script. |
|---|
| 280 | .PP |
|---|
| 281 | For example, if `coverage' is installed and on the PATH, you can |
|---|
| 282 | use: |
|---|
| 283 | .PP |
|---|
| 284 | \f[CR] |
|---|
| 285 | tahoe\ \@coverage\ run\ --branch\ \@tahoe\ debug\ trial |
|---|
| 286 | \f[] |
|---|
| 287 | .PP |
|---|
| 288 | to get branch coverage for the Tahoe test suite. |
|---|
| 289 | Or, to run python with the \[en]3 option that warns about Python 3 |
|---|
| 290 | incompatibilities: |
|---|
| 291 | .PP |
|---|
| 292 | \f[CR] |
|---|
| 293 | tahoe\ \@python\ -3\ \@tahoe\ command\ [options] |
|---|
| 294 | \f[] |
|---|
| 295 | .SH AUTHORS |
|---|
| 296 | .PP |
|---|
| 297 | Tahoe-lafs has been written by Brian Warner, Zooko Wilcox-O'Hearn |
|---|
| 298 | and dozens of others. |
|---|
| 299 | This manpage has been written by bertagaz. |
|---|
| 300 | .SH COPYRIGHT |
|---|
| 301 | .PP |
|---|
| 302 | 2006\[en]2011 \@ AllMyData, Inc. |
|---|
| 303 | .SH AUTHORS |
|---|
| 304 | May 10, 2011. |
|---|
| 305 | |
|---|