diff options
author | Sage Weil <sage@newdream.net> | 2011-12-19 13:47:43 -0800 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-12-19 14:02:10 -0800 |
commit | 2710bd8520ec360867640be6ec8f91edc3023774 (patch) | |
tree | 6571f0def9b54c68ac0aa0b4c3bc8db7765ca79c /doc/man | |
parent | ed780fdd5e1abbb18e8b427654dbd068a2cb5d79 (diff) | |
download | ceph-2710bd8520ec360867640be6ec8f91edc3023774.tar.gz |
mon: update man page to document --mkfs stuff
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/8/ceph-mon.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/man/8/ceph-mon.rst b/doc/man/8/ceph-mon.rst index 85970b3a530..639c1b07625 100644 --- a/doc/man/8/ceph-mon.rst +++ b/doc/man/8/ceph-mon.rst @@ -40,6 +40,30 @@ Options ``/etc/ceph/ceph.conf`` to determine monitor addresses during startup. +.. option:: --mkfs + + Initialize the ``mon data`` 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 ``mon host`` + configuration value (in *ceph.conf* or via ``-m + host1,host2,...`), or ``mon addr`` 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 ``public addr`` or ``public + subnet`` options may be used. + - The monitor secret key ``mon.``. This must be included in the + keyring provided via ``--keyring <path>``. + +.. option:: --keyring + + Specify a keyring for use with ``--mkfs``. + Availability ============ |