1CEPH-MON(8) Ceph CEPH-MON(8)
2
3
4
6 ceph-mon - ceph monitor daemon
7
9 ceph-mon -i monid [ --mon-data mondatapath ]
10
11
13 ceph-mon is the cluster monitor daemon for the Ceph distributed file
14 system. One or more instances of ceph-mon form a Paxos part-time par‐
15 liament cluster that provides extremely reliable and durable storage of
16 cluster membership, configuration, and state.
17
18 The mondatapath refers to a directory on a local file system storing
19 monitor data. It is normally specified via the mon data option in the
20 configuration file.
21
23 -f, --foreground
24 Foreground: do not daemonize after startup (run in foreground).
25 Do not generate a pid file. Useful when run via ceph-run(8).
26
27 -d Debug mode: like -f, but also send all log output to stderr.
28
29 --setuser userorgid
30 Set uid after starting. If a username is specified, the user
31 record is looked up to get a uid and a gid, and the gid is also
32 set as well, unless --setgroup is also specified.
33
34 --setgroup grouporgid
35 Set gid after starting. If a group name is specified the group
36 record is looked up to get a gid.
37
38 -c ceph.conf, --conf=ceph.conf
39 Use ceph.conf configuration file instead of the default
40 /etc/ceph/ceph.conf to determine monitor addresses during
41 startup.
42
43 --mkfs Initialize the mon data directory with seed information to form
44 and initial ceph file system or to join an existing monitor
45 cluster. Three pieces of information must be provided:
46
47 • The cluster fsid. This can come from a monmap (--monmap
48 <path>) or explicitly via --fsid <uuid>.
49
50 • A list of monitors and their addresses. This list of monitors
51 can come from a monmap (--monmap <path>), the mon host config‐
52 uration value (in ceph.conf or via -m host1,host2,...), or
53 (for backward compatibility) the deprecated mon addr lines in
54 ceph.conf. If this monitor is to be part of the initial moni‐
55 tor quorum for a new Ceph cluster, then it must be included in
56 the initial list, matching either the name or address of a
57 monitor in the list. When matching by address, either the
58 public addr or public subnet options may be used.
59
60 • The monitor secret key mon.. This must be included in the
61 keyring provided via --keyring <path>.
62
63 --keyring
64 Specify a keyring for use with --mkfs.
65
66 --no-config-file
67 Signal that we don't want to rely on a ceph.conf, either user
68 provided or the default, to run the daemon. This will entail
69 providing all necessary options to the daemon as arguments.
70
72 ceph-mon is part of Ceph, a massively scalable, open-source, distrib‐
73 uted storage system. Please refer to the Ceph documentation at
74 https://docs.ceph.com for more information.
75
77 ceph(8), ceph-mds(8), ceph-osd(8)
78
80 2010-2023, Inktank Storage, Inc. and contributors. Licensed under Cre‐
81 ative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)
82
83
84
85
86dev Nov 02, 2023 CEPH-MON(8)