CEPH-MON(8)
π NAME π
ceph-mon β the ceph monitor daemon β¨ (yes that's the whole name section, she's lowkey mysterious, we love that for her)
π¦ SYNOPSIS π¦
ceph-mon -i monid [ --mon-data mondatapath ]
π DESCRIPTION π
okay so picture this: ceph-mon is the cluster monitor daemon for the Ceph distributed file system. she's the one holding the group chat together π«Ά
one or more instances of ceph-mon team up to form a Paxos part-time parliament cluster (yes, that's the real name, and yes, it's giving congress-but-make-it-durable). together they provide extremely reliable and durable storage of cluster membership, configuration, and state. no cap. that's the whole job and they slay at it.
the mondatapath is a directory on a local file system that stores monitor data. it's normally specified via the mon data option in the configuration file. (translation: she has a lil home folder and you gotta tell her where it is π)
β¨ OPTIONS β¨
-f,--foregroundβ Foreground mode, bestie: do not daemonize after startup (so she just runs in the foreground like a normal main character). also, do not generate a pid file. super useful when you're running her viaceph-run(8).-dβ Debug mode: it's like-fbut extra, because it also sends all log output to stderr. π--setuser userorgidβ set the uid after starting. if you hand her a username, the user record gets looked up to grab a uid and a gid, and that gid gets set too β unless--setgroupis also specified, in which case she minds her business.--setgroup grouporgidβ set the gid after starting. if you give her a group name, the group record is looked up to get a gid.-c ceph.conf,--conf=ceph.confβ use thisceph.confconfiguration file instead of the default/etc/ceph/ceph.confto determine monitor addresses during startup. (default file found crying in the /etc/ceph corner π)--mkfsβ initialize the mon data directory with seed information so she can form an initial ceph file system or join an existing monitor cluster. three (3) pieces of info must be provided, no exceptions:- 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>), themon hostconfiguration value (inceph.confor via-m host1,host2,...), or β for backward compatibility only, it's deprecated bestie β themon addrlines inceph.conf. if this monitor is meant 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 the address of a monitor in the list. when you're matching by address, either thepublic addrorpublic subnetoptions may be used. - the monitor secret key
mon.β this one must be included in the keyring provided via--keyring <path>.
- the cluster fsid. this can come from a monmap (
--keyringβ specify a keyring for use with--mkfs. π--use-mon-keyringβ use the mon's keyring file as authoritative for themon.secret. normally the key in the mons' auth database is the one getting the job.--no-config-fileβ signal that we do not want to rely on aceph.conf, whether user provided or the default one, to run the daemon. heads up: this means you'll have to hand every necessary option to the daemon as arguments. all of them. yourself. π
real talk:--mkfswill absolutely not guess for you. no fsid, no monitor list, nomon.key in the keyring β no monitor. she's not doing improv.
π AVAILABILITY π
ceph-mon is part of Ceph β a massively scalable, open-source, distributed storage system. for more info, please refer to the Ceph documentation at https://docs.ceph.com πβ¨
π«Ά SEE ALSO π«Ά
ceph(8), ceph-mds(8), ceph-osd(8) β the rest of the squad, go say hi π¦
π Copyright π
2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0) π
aaaand that's a wrap bestie π this was written by dev, dated Oct 06, 2026, and lives under the manual page name CEPH-MON(8). go forth and monitor responsibly, mwah πβ¨π
π¦ where this page comes from
- ubuntu stonking: ceph-mon 20.2.4+ds1-0ubuntu1 Β· LGPL2.1 (see COPYING-LGPL2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms