diff --git a/doc/cephfs/add-remove-mds.rst b/doc/cephfs/add-remove-mds.rst index c438fe10328..1f95913e94c 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