Langue: en

Autres versions - même langue

Version: 385281 (fedora - 01/12/10)

Section: 8 (Commandes administrateur)


mkcephfs - create a ceph file system


mkcephfs [ -a ] [ -c ceph.conf ] [ --clobber_old_data ] [ --mkbtrfs ]


mkcephfs is used to create an empty Ceph file system, possibly spanning multiple hosts. The ceph.conf 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.


-a, --allhosts
Performs the necessary initialization steps on all hosts in the cluster, executing commands via SSH.
-c ceph.conf, --conf=ceph.conf
Use the given conf file instead of the default /etc/ceph/ceph.conf.
Overwrite any existing data found in monitor or osd paths.
Create and mount the any btrfs file systems specified in the ceph.conf for OSD data storage using mkfs.btrfs. The "btrfs devs" and (if it differs from "osd data") "btrfs path" options must be defined.


mkcephfs is part of the Ceph distributed file system. Please refer to the Ceph wiki at for more information.


ceph(8), mkmonfs(8), monmaptool(8), osdmaptool(8), crushmaptool(8)