]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update on obsolete mds commands
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 29 Aug 2017 21:03:56 +0000 (14:03 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 2 Oct 2017 00:09:37 +0000 (17:09 -0700)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
doc/cephfs/administration.rst
src/common/legacy_config_opts.h

index e9d9195557d19cae0865985f2d09304855676c07..175dde8f9ebc71f932c1e4df34fe43a5ee1bef7c 100644 (file)
@@ -124,6 +124,11 @@ shrink an MDS cluster.  See :doc:`/cephfs/multimds`
 
     mds repaired <role>
 
+::
+
+    mds stat
+
+
 
 Global settings
 ---------------
@@ -163,10 +168,6 @@ filesystem.
 
     mds compat show
 
-::
-
-    mds getmap
-
 ::
 
     mds set_state
@@ -178,21 +179,18 @@ filesystem.
 Legacy
 ------
 
-The ``ceph mds set`` command is the deprecated version of ``ceph fs set``,
-from before there was more than one filesystem per cluster. It operates
-on whichever filesystem is marked as the default (see ``ceph fs
-set-default``.)
+These legacy commands are obsolete and no longer usable post-Luminous.
 
 ::
 
-    mds stat
-    mds dump  # replaced by "fs get"
-    mds stop  # replaced by "mds deactivate"
-    mds set_max_mds # replaced by "fs set max_mds"
-    mds set # replaced by "fs set"
+    mds add_data_pool # replaced by "fs add_data_pool"
     mds cluster_down  # replaced by "fs set cluster_down"
     mds cluster_up  # replaced by "fs set cluster_up"
+    mds dump  # replaced by "fs get"
+    mds getmap # replaced by "fs dump"
     mds newfs # replaced by "fs new"
-    mds add_data_pool # replaced by "fs add_data_pool"
-    mds remove_data_pool #replaced by "fs remove_data_pool"
+    mds remove_data_pool # replaced by "fs remove_data_pool"
+    mds set # replaced by "fs set"
+    mds set_max_mds # replaced by "fs set max_mds"
+    mds stop  # replaced by "mds deactivate"
 
index 5154b005fb360de8999610eaf830341e75a0408e..b82e99ad94f60934c279625208a30e27f6a296b5 100644 (file)
@@ -424,7 +424,7 @@ OPTION(filer_max_purge_ops, OPT_U32)
 OPTION(filer_max_truncate_ops, OPT_U32)
 
 OPTION(mds_data, OPT_STR)
-OPTION(mds_max_file_size, OPT_U64) // Used when creating new CephFS. Change with 'ceph mds set max_file_size <size>' afterwards
+OPTION(mds_max_file_size, OPT_U64) // Used when creating new CephFS. Change with 'ceph fs set <fs_name> max_file_size <size>' afterwards
 // max xattr kv pairs size for each dir/file
 OPTION(mds_max_xattr_pairs_size, OPT_U32)
 OPTION(mds_max_file_recover, OPT_U32)