-f,--foreground
Foreground: do not daemonize after startup (run in foreground). Do not generate a pid file. Useful
when run via ceph-run(8).
-d Debug mode: like -f, but also send all log output to stderr.
--setuseruserorgid
Set uid after starting. If a username is specified, the user record is looked up to get a uid and
a gid, and the gid is also set as well, unless --setgroup is also specified.
--setgroupgrouporgid
Set gid after starting. If a group name is specified the group record is looked up to get a gid.
-cceph.conf,--conf=ceph.conf
Use ceph.conf configuration file instead of the default /etc/ceph/ceph.conf to determine monitor
addresses during startup.
--mkfs Initialize the mondata directory with seed information to form and initial ceph file system or to
join an existing monitor cluster. Three pieces of information must be provided:
• The cluster fsid. This can come from a monmap (--monmap<path>) or explicitly via --fsid<uuid>.
• A list of monitors and their addresses. This list of monitors can come from a monmap (--monmap<path>), the monhost configuration value (in ceph.conf or via -mhost1,host2,...), or (for
backward compatibility) the deprecated monaddr lines in ceph.conf. If this monitor is to be
part of the initial monitor quorum for a new Ceph cluster, then it must be included in the
initial list, matching either the name or address of a monitor in the list. When matching by
address, either the publicaddr or publicsubnet options may be used.
• The monitor secret key mon.. This must be included in the keyring provided via --keyring<path>.
--keyring
Specify a keyring for use with --mkfs.
--no-config-file
Signal that we don't want to rely on a ceph.conf, either user provided or the default, to run the
daemon. This will entail providing all necessary options to the daemon as arguments.