From: Patrick Donnelly Date: Tue, 29 Aug 2017 21:03:56 +0000 (-0700) Subject: doc: update on obsolete mds commands X-Git-Tag: v13.0.1~433^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71e410c290db1911b577e0557dde07041f6b08de;p=ceph.git doc: update on obsolete mds commands Signed-off-by: Patrick Donnelly --- diff --git a/doc/cephfs/administration.rst b/doc/cephfs/administration.rst index e9d9195557d..175dde8f9eb 100644 --- a/doc/cephfs/administration.rst +++ b/doc/cephfs/administration.rst @@ -124,6 +124,11 @@ shrink an MDS cluster. See :doc:`/cephfs/multimds` mds repaired +:: + + 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" diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 5154b005fb3..b82e99ad94f 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -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 ' afterwards +OPTION(mds_max_file_size, OPT_U64) // Used when creating new CephFS. Change with 'ceph fs set max_file_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)