summaryrefslogtreecommitdiff
path: root/doc/man/mount.s3ql.1
blob: a16185f602bb97c47a9ed71a4ba24216351a6725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
.\" Man page generated from reStructuredText.
.
.TH "MOUNT.S3QL" "1" "Jul 17, 2019" "3.2" "S3QL"
.SH NAME
mount.s3ql \- Mount an S3QL file system
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
mount.s3ql [options] <storage url> <mount point>
.ft P
.fi
.UNINDENT
.UNINDENT
.SH DESCRIPTION
.sp
S3QL is a file system for online data storage. Before using S3QL, make
sure to consult the full documentation (rather than just the man pages
which only briefly document the available userspace commands).
.sp
The \fBmount.s3ql\fP command mounts the S3QL file system stored in \fIstorage
url\fP in the directory \fImount point\fP\&. The storage url depends on the
backend that is used. The S3QL User\(aqs Guide should be consulted for a
description of the available backends.
.SH OPTIONS
.sp
The \fBmount.s3ql\fP command accepts the following options.
.INDENT 0.0
.INDENT 3.5
.INDENT 0.0
.TP
.BI \-\-log \ <target>
Destination for log messages. Specify \fBnone\fP for
standard output or \fBsyslog\fP for the system logging
daemon. Anything else will be interpreted as a file
name. Log files will be rotated when they reach 1 MiB,
and at most 5 old log files will be kept. Default:
\fB~/.s3ql/mount.log\fP
.TP
.BI \-\-cachedir \ <path>
Store cached data in this directory (default:
\fB~/.s3ql)\fP
.TP
.BI \-\-debug\-modules \ <modules>
Activate debugging output from specified modules (use
commas to separate multiple modules). Debug messages
will be written to the target specified by the
\fB\-\-log\fP option.
.TP
.B \-\-debug
Activate debugging output from all S3QL modules. Debug
messages will be written to the target specified by
the \fB\-\-log\fP option.
.TP
.B \-\-quiet
be really quiet
.TP
.BI \-\-backend\-options \ <options>
Backend specific options (separate by commas). See
backend documentation for available options.
.TP
.B \-\-version
just print program version and exit
.TP
.BI \-\-authfile \ <path>
Read authentication credentials from this file
(default: \fB~/.s3ql/authinfo2)\fP
.TP
.BI \-\-compress \ <algorithm\-lvl>
Compression algorithm and compression level to use
when storing new data. \fIalgorithm\fP may be any of
\fBlzma\fP, \fBbzip2\fP, \fBzlib\fP, or none. \fIlvl\fP may be any
integer from 0 (fastest) to 9 (slowest). Default:
\fBlzma\-6\fP
.TP
.BI \-\-cachesize \ <size>
Cache size in KiB (default: autodetect).
.TP
.BI \-\-max\-cache\-entries \ <num>
Maximum number of entries in cache (default:
autodetect). Each cache entry requires one file
descriptor, so if you increase this number you have to
make sure that your process file descriptor limit (as
set with \fBulimit \-n\fP) is high enough (at least the
number of cache entries + 100).
.TP
.B \-\-keep\-cache
Do not purge locally cached files on exit.
.TP
.B \-\-allow\-other
Normally, only the user who called \fBmount.s3ql\fP can
access the mount point. This user then also has full
access to it, independent of individual file
permissions. If the \fB\-\-allow\-other\fP option is
specified, other users can access the mount point as
well and individual file permissions are taken into
account for all users.
.TP
.B \-\-allow\-root
Like \fB\-\-allow\-other\fP, but restrict access to the
mounting user and the root user.
.TP
.B \-\-fg
Do not daemonize, stay in foreground
.TP
.BI \-\-fs\-name \ FS_NAME
Mount name passed to fuse, the name will be shown in
the first column of the system mount command output.
If not specified your storage url is used.
.TP
.B \-\-systemd
Run as systemd unit. Consider specifying \-\-log none as
well to make use of journald.
.TP
.BI \-\-metadata\-upload\-interval \ <seconds>
Interval in seconds between complete metadata uploads.
Set to 0 to disable. Default: 24h.
.TP
.BI \-\-threads \ <no>
Number of parallel upload threads to use (default:
auto).
.TP
.B \-\-nfs
Enable some optimizations for exporting the file
system over NFS. (default: False)
.UNINDENT
.UNINDENT
.UNINDENT
.SH EXIT CODES
.sp
\fBmount.s3ql\fP may terminate with the following exit codes:
.INDENT 0.0
.TP
.B 0
Everything went well.
.TP
.B 1
An unexpected error occured. This may indicate a bug in the
program.
.TP
.B 2
Invalid command line argument or configuration file key.
.TP
.B 3
Invalid backend option.
.TP
.B 10
Could not open log file for writing.
.TP
.B 11
No such backend.
.TP
.B 12
Authentication file has insecure permissions.
.TP
.B 13
Unable to parse proxy settings.
.TP
.B 14
Invalid credentials (Authentication failed).
.TP
.B 15
No permission to access backend (Authorization denied).
.TP
.B 16
Invalid storage URL, specified location does not exist in backend.
.TP
.B 17
Wrong file system passphrase.
.TP
.B 18
No S3QL file system found at given storage URL.
.TP
.B 19
Unable to connect to backend, can\(aqt resolve hostname.
.TP
.B 30
File system was not unmounted cleanly.
.TP
.B 31
File system appears to be mounted elsewhere.
.TP
.B 32
Unsupported file system revision (too old).
.TP
.B 33
Unsupported file system revision (too new).
.TP
.B 34
Insufficient free nodes, need to run \fBfsck.s3ql\fP\&.
.TP
.B 35
Attempted to mount read\-only, this is not supported.
.TP
.B 36
Mountpoint does not exist.
.TP
.B 37
Not enough available file descriptors.
.TP
.B 39
Unable to bind file system to mountpoint.
.TP
.B 45
Unable to access cache directory.
.UNINDENT
.SH SEE ALSO
.sp
The S3QL homepage is at \fI\%https://github.com/s3ql/s3ql/\fP\&.
.sp
The full S3QL documentation should also be installed somewhere on your
system, common locations are \fB/usr/share/doc/s3ql\fP or
\fB/usr/local/doc/s3ql\fP\&.
.SH COPYRIGHT
© 2008 Nikolaus Rath <Nikolaus@rath.org>
.\" Generated by docutils manpage writer.
.