From: liu wei Date: Fri, 31 Aug 2018 18:23:03 +0000 (+0800) Subject: doc/cephfs: fixup add/remove mds docs X-Git-Tag: v14.0.1~384^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a77ca3357c8bcb1311582e81f95d4caf7084ee48;p=ceph.git doc/cephfs: fixup add/remove mds docs Signed-off-by: liu wei --- diff --git a/doc/cephfs/add-remove-mds.rst b/doc/cephfs/add-remove-mds.rst index c438fe1032804..1f95913e94c48 100644 --- a/doc/cephfs/add-remove-mds.rst +++ b/doc/cephfs/add-remove-mds.rst @@ -10,20 +10,20 @@ See `MDS Config Reference`_ for details on configuring metadata servers. Add a Metadata Server ===================== -#. Create an mds data point ``/var/lib/ceph/mds/mds.``. +#. Create an mds data point ``/var/lib/ceph/mds/ceph-{$id}``. #. Edit ``ceph.conf`` and add MDS section. :: - [mds.] + [mds.{$id}] host = {hostname} #. Create the authentication key, if you use CephX. :: - $ sudo ceph auth get-or-create mds. mon 'profile mds' mgr 'profile mds' mds 'allow *' osd 'allow *' > /var/lib/ceph/mds/ceph-/keying + $ sudo ceph auth get-or-create mds.{$id} mon 'profile mds' mgr 'profile mds' mds 'allow *' osd 'allow *' > /var/lib/ceph/mds/ceph-{$id}/keyring #. Start the service. :: - $ sudo service ceph start mds. + $ sudo service ceph start mds.{$id} #. The status of the cluster shows: :: @@ -46,6 +46,6 @@ the following method. $ ceph mds fail -#. Remove the ``/var/lib/ceph/mds/mds.`` directory on the old Metadata server. +#. Remove the ``/var/lib/ceph/mds/ceph-{$id}`` directory on the old Metadata server. .. _MDS Config Reference: ../mds-config-ref