summaryrefslogtreecommitdiff
path: root/doc/man/s3qlctrl.1
blob: e4c2a6b1bcb44be0765fde5fbfeaaeec3001a346 (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
.TH "S3QLCTRL" "1" "July 12, 2013" "1.16" "S3QL"
.SH NAME
s3qlctrl \- Control a mounted 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
..
.\" Man page generated from reStructeredText.
.
.SH SYNOPSIS
.sp
.nf
.ft C
s3qlctrl [options] <action> <mountpoint> ...
.ft P
.fi
.sp
where \fBaction\fP may be either of \fBflushcache\fP,
\fBupload\-meta\fP, \fBcachesize\fP or
\fBlog\-metadata\fP.
.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 \fBs3qlctrl\fP command performs various actions on the S3QL file system mounted
in \fBmountpoint\fP.
.sp
\fBs3qlctrl\fP can only be called by the user that mounted the file system
and (if the file system was mounted with \fB\-\-allow\-other\fP or
\fB\-\-allow\-root\fP) the root user. This limitation might be
removed in the future (see \fI\%issue 155\fP).
.sp
The following actions may be specified:
.INDENT 0.0
.TP
.B flushcache
Uploads all changed file data to the backend.
.TP
.B upload\-meta
Upload metadata to the backend. All file system operations will
block while a snapshot of the metadata is prepared for upload.
.TP
.B cachesize
Changes the cache size of the file system. This action requires an
additional argument that specifies the new cache size in KiB, so the
complete command line is:
.sp
.nf
.ft C
s3qlctrl [options] cachesize <mountpoint> <new\-cache\-size>
.ft P
.fi
.TP
.B log
Change the amount of information that is logged into
\fB~/.s3ql/mount.log\fP file. The complete syntax is:
.sp
.nf
.ft C
s3qlctrl [options] log <mountpoint> <level> [<module> [<module> ...]]
.ft P
.fi
.sp
here \fBlevel\fP is the desired new log level and may be either of
\fIdebug\fP, \fIinfo\fP or \fIwarn\fP. One or more \fBmodule\fP may only be
specified with the \fIdebug\fP level and allow to restrict the debug
output to just the listed modules.
.UNINDENT
.SH OPTIONS
.sp
The \fBs3qlctrl\fP command also accepts the following options, no matter
what specific action is being invoked:
.INDENT 0.0
.INDENT 3.5
.INDENT 0.0
.TP
.B \-\-debug
activate debugging output
.TP
.B \-\-quiet
be really quiet
.TP
.B \-\-version
just print program version and exit
.UNINDENT
.UNINDENT
.UNINDENT
.sp
Hint: run \fBs3qlctrl <action> \-\-help\fP to get help on the additional arguments
that the different actions take.
.SH EXIT STATUS
.sp
\fBs3qlctrl\fP returns exit code 0 if the operation succeeded and 1 if some
error occurred.
.SH SEE ALSO
.sp
The S3QL homepage is at \fI\%http://code.google.com/p/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-2011, Nikolaus Rath
.\" Generated by docutils manpage writer.
.\" 
.