2009-09-02 17:29:42 +00:00
.TH MKCEPHFS 8
2009-03-10 21:39:54 +00:00
.SH NAME
2009-09-02 17:29:42 +00:00
mkcephfs \- create a ceph file system
2009-03-10 21:39:54 +00:00
.SH SYNOPSIS
2009-09-02 17:29:42 +00:00
.B mkcephfs
2009-03-10 21:39:54 +00:00
[ \fB \- a\fP ]
2009-03-11 23:03:05 +00:00
[ \fB \- c\fP \fI ceph.conf\fP ]
2010-12-07 06:17:47 +00:00
[ \fB \- k\fI /path/to/keyring.bin\fP ]
2009-03-10 21:39:54 +00:00
[ \fB \- \- clobber_old_data\fP ]
[ \fB \- \- mkbtrfs\fP ]
.SH DESCRIPTION
.B mkcephfs
is used to create an empty Ceph file system, possibly spanning multiple
2009-03-11 23:03:05 +00:00
hosts. The \fI ceph.conf\fP file describes the composition of the
2009-03-10 21:39:54 +00:00
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
2009-03-11 23:03:05 +00:00
\fB \- c\fI ceph.conf\fR , \fB \- \- conf=\fI ceph.conf\fR
Use the given conf file instead of the default \fI /etc/ceph/ceph.conf\fP .
2009-03-10 21:39:54 +00:00
.TP
2010-12-07 06:17:47 +00:00
\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
2009-03-10 21:39:54 +00:00
\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
2009-03-11 23:03:05 +00:00
\fB ceph.conf\fP for OSD data storage using \fB mkfs.btrfs\fP . The
2009-03-10 21:39:54 +00:00
"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)