summaryrefslogtreecommitdiff
path: root/man/mkcephfs.8
blob: f0d435f5fab44a473175a3f1c21f890accfd8ffe (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
.TH MKCEPHFS 8
.SH NAME
mkcephfs \- create a ceph file system
.SH SYNOPSIS
.B mkcephfs
[ \fB\-a\fP ]
[ \fB\-c\fP\fI ceph.conf\fP ]
[ \fB\-k\fI /path/to/keyring.bin\fP ]
[ \fB\-\-clobber_old_data\fP ]
[ \fB\-\-mkbtrfs\fP ]
.SH DESCRIPTION
.B mkcephfs
is used to create an empty Ceph file system, possibly spanning multiple
hosts.  The \fIceph.conf\fP file describes the composition of the 
Ceph cluster, including which hosts are participating, which daemons
run where, and which paths are used to store file system data or
metadata.
.SH OPTIONS
.TP
\fB\-a\fR, \fB\-\-allhosts\fR
Performs the necessary initialization steps on all hosts in the cluster,
executing commands via SSH.
.TP
\fB\-c\fI ceph.conf\fR, \fB\-\-conf=\fIceph.conf\fR
Use the given conf file instead of the default \fI/etc/ceph/ceph.conf\fP.
.TP
\fB\-k\fI /path/to/keyring.bin\fR
Location to write the client.admin keyring, which is used to administer the cluster.  The default is \fI/etc/ceph/keyring.bin\fP, but must still be specified explicitly.
.TP
\fB\-\-clobber_old_data\fR
Overwrite any existing data found in monitor or osd paths.
.TP
\fB\-\-mkbtrfs\fR
Create and mount the any btrfs file systems specified in the
\fBceph.conf\fP for OSD data storage using \fBmkfs.btrfs\fP.  The
"btrfs devs" and (if it differs from 
"osd data") "btrfs path" options must be defined.
.SH AVAILABILITY
.B mkcephfs
is part of the Ceph distributed file system.  Please refer to the Ceph wiki at
http://ceph.newdream.net/wiki for more information.
.SH SEE ALSO
.BR ceph (8),
.BR monmaptool (8),
.BR osdmaptool (8),
.BR crushmaptool (8)