]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update to new ceph fs commands 13346/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 10 Feb 2017 02:19:31 +0000 (21:19 -0500)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 10 Feb 2017 02:20:04 +0000 (21:20 -0500)
These `ceph mds ...` commands are deprecated.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
doc/cephfs/file-layouts.rst
doc/cephfs/hadoop.rst
doc/cephfs/mantle.rst

index e72fa69b062595606f19833054f2cfb6197a8daa..a268016577349cbca36aa3b10f0eba325fbee37d 100644 (file)
@@ -199,7 +199,7 @@ Before you can use a pool with CephFS you have to add it to the Metadata Servers
 
 .. code-block:: bash
 
-    $ ceph mds add_data_pool cephfs_data_ssd
+    $ ceph fs add_data_pool cephfs cephfs_data_ssd
     # Pool should now show up
     $ ceph fs ls
     .... data pools: [cephfs_data cephfs_data_ssd ]
index fc3f3000fb0d726aa80ec355999dfaade87c8422..76d26f27d4ba8385334056057f9e2a71775102a3 100644 (file)
@@ -141,7 +141,7 @@ documentation`_.
 
 Once a pool has been created and configured the metadata service must be told
 that the new pool may be used to store file data. A pool is be made available
-for storing file system data using the ``ceph mds add_data_pool`` command.
+for storing file system data using the ``ceph fs add_data_pool`` command.
 
 First, create the pool. In this example we create the ``hadoop1`` pool with
 replication factor 1. ::
@@ -162,7 +162,7 @@ The output should resemble::
 where ``3`` is the pool id. Next we will use the pool id reference to register
 the pool as a data pool for storing file system data. ::
 
-    ceph mds add_data_pool 3
+    ceph fs add_data_pool cephfs 3
 
 The final step is to configure Hadoop to consider this data pool when
 selecting the target pool for new files. ::
index 3631614365e731dd50881b5c600b742e9c1030dd..8a7d729ac38fe7996551b5f08437b0993128ed75 100644 (file)
@@ -76,8 +76,8 @@ Mantle with `vstart.sh`
 
 ::
 
-    bin/ceph mds set allow_multimds true --yes-i-really-mean-it
-    bin/ceph mds set max_mds 5
+    bin/ceph fs set cephfs allow_multimds true --yes-i-really-mean-it
+    bin/ceph fs set cephfs max_mds 5
     bin/ceph fs set cephfs_a balancer greedyspill.lua
 
 
@@ -161,7 +161,7 @@ Implementation Details
 Most of the implementation is in MDBalancer. Metrics are passed to the balancer
 policies via the Lua stack and a list of loads is returned back to MDBalancer.
 It sits alongside the current balancer implementation and it's enabled with a
-Ceph CLI command ("ceph mds set balancer mybalancer.lua"). If the Lua policy
+Ceph CLI command ("ceph fs set cephfs balancer mybalancer.lua"). If the Lua policy
 fails (for whatever reason), we fall back to the original metadata load
 balancer. The balancer is stored in the RADOS metadata pool and a string in the
 MDSMap tells the MDSs which balancer to use.