| **ceph** **df** *{detail}*
+| **ceph** **fs** [ *ls* \| *new* \| *rm* ] ...
+
| **ceph** **fsid**
| **ceph** **health** *{detail}*
| **ceph** **mon_status**
-| **ceph** **osd** [ *blacklist* \| *create* \| *deep-scrub* \| *down* \| *dump* \| *erasure-code-profile* \| *find* \| *getcrushmap* \| *getmap* \| *getmaxosd* \| *in* \| *lost* \| *ls* \| *lspools* \| *map* \| *metadata* \| *out* \| *pause* \| *perf* \| *primary-affinity* \| *primary-temp* \| *repair* \| *reweight* \| *reweight-by-utilization* \| *rm* \| *scrub* \| *set* \| *setcrushmap* \| *setmaxosd* \| *stat* \| *thrash* \| *tree* \| *unpause* \| *unset* ] ...
+| **ceph** **osd** [ *blacklist* \| *blocked-by* \| *create* \| *deep-scrub* \| *down* \| *dump* \| *erasure-code-profile* \| *find* \| *getcrushmap* \| *getmap* \| *getmaxosd* \| *in* \| *lost* \| *ls* \| *lspools* \| *map* \| *metadata* \| *out* \| *pause* \| *perf* \| *pg-temp* \| *primary-affinity* \| *primary-temp* \| *repair* \| *reweight* \| *reweight-by-pg* \| *reweight-by-utilization* \| *rm* \| *scrub* \| *set* \| *setcrushmap* \| *setmaxosd* \| *stat* \| *thrash* \| *tree* \| *unpause* \| *unset* ] ...
-| **ceph** **osd** **crush** [ *add* \| *add-bucket* \| *create-or-move* \| *dump* \| *get-tunable* \| *link* \| *move* \| *remove* \| *reweight* \| *reweight-all* \| *rm* \| *rule* \| *set* \| *set-tunable* \| *show-tunables* \| *tunables* \| *unlink* ] ...
+| **ceph** **osd** **crush** [ *add* \| *add-bucket* \| *create-or-move* \| *dump* \| *link* \| *move* \| *remove* \| *reweight* \| *reweight-subtree* \| *rm* \| *rule* \| *set* \| *show-tunables* \| *tunables* \| *unlink* ] ...
| **ceph** **osd** **pool** [ *create* \| *delete* \| *get* \| *get-quota* \| *mksnap* \| *rename* \| *rmsnap* \| *set* \| *set-quota* \| *stats* ] ...
OSD. It uses some additional subcommands.
Subcommand ``add`` adds authentication info for a particular entity from input
-file, or random key if no input given and/or any caps specified in the command.
+file, or random key if no input is given and/or any caps specified in the command.
Usage::
ceph df {detail}
+fs
+--
+
+Manage cephfs filesystems. It uses some additional subcommands.
+
+Subcommand ``ls`` to list filesystems
+
+Usage::
+
+ ceph fs ls
+
+Subcommand ``new`` to make a new filesystem using named pools <metadata> and <data>
+
+Usage::
+
+ ceph fs new <fs_name> <metadata> <data>
+
+Subcommand ``rm`` to disable the named filesystem
+
+Usage::
+
+ ceph fs rm <fs_name> {--yes-i-really-mean-it}
+
+
fsid
----
ceph osd blacklist rm <EntityAddr>
+Subcommand ``blocked-by`` prints a histogram of which OSDs are blocking their peers
+
+Usage::
+
+ ceph osd blocked-by
+
Subcommand ``create`` creates new osd (with optional UUID).
Usage::
ceph osd crush dump
-Subcommand ``get-tunable`` get crush tunable straw_calc_version
-
-Usage::
-
- ceph osd crush get-tunable straw_calc_version
-
Subcommand ``link`` links existing entry for <name> under location <args>.
Usage::
ceph osd crush reweight <name> <float[0.0-]>
-Subcommand ``reweight-all`` recalculate the weights for the tree to
-ensure they sum correctly
+Subcommand ``reweight-subtree`` changes all leaf items beneath <name>
+to <weight> in crush map
Usage::
- ceph osd crush reweight-all
+ ceph osd crush reweight-subtree <name> <weight>
Subcommand ``rm`` removes <name> from crush map (everywhere, or just at
<ancestor>).
ceph osd crush set <osdname (id|osd.id)> <float[0.0-]> <args> [<args>...]
-Subcommand ``set-tunable`` set crush tunable <tunable> to <value>. The only
-tunable that can be set is straw_calc_version.
-
-Usage::
-
- ceph osd crush set-tunable straw_calc_version <value>
-
Subcommand ``show-tunables`` shows current crush tunables.
Usage::
Usage::
ceph osd pool create <poolname> <int[0-]> {<int[0-]>} {replicated|erasure}
- {<erasure_code_profile>} {<ruleset>}
+ {<erasure_code_profile>} {<ruleset>} {<int>}
Subcommand ``delete`` deletes pool.
ceph osd pool get <poolname> cache_target_dirty_ratio|cache_target_full_ratio
ceph osd pool get <poolname> cache_min_flush_age|cache_min_evict_age|
- erasure_code_profile
+ erasure_code_profile|min_read_recency_for_promote
Subcommand ``get-quota`` obtains object or byte limits for pool.
Usage::
- ceph osd pool set <poolname> size|min_size|crash_replay_interval|
- pg_num|pgp_num|crush_ruleset|hashpspool|hit_set_type|hit_set_period|
- hit_set_count|hit_set_fpp|debug_fake_ec_pool| target_max_bytes|
+ ceph osd pool set <poolname> size|min_size|crash_replay_interval|pg_num|
+ pgp_num|crush_ruleset|hashpspool|hit_set_type|hit_set_period|
+ hit_set_count|hit_set_fpp|debug_fake_ec_pool|target_max_bytes|
target_max_objects|cache_target_dirty_ratio|cache_target_full_ratio|
- cache_min_flush_age|cache_min_evict_age|auid
- <val> {--yes-i-really-mean-it}
+ cache_min_flush_age|cache_min_evict_age|auid|
+ min_read_recency_for_promote <val> {--yes-i-really-mean-it}
Subcommand ``set-quota`` sets object or byte limit on pool.
osd reweight <int[0-]> <float[0.0-1.0]>
+Subcommand ``reweight-by-pg`` reweight OSDs by PG distribution
+[overload-percentage-for-consideration, default 120].
+
+Usage::
+
+ ceph osd reweight-by-pg {<int[100-]>} {<poolname> [<poolname...]}
+
Subcommand ``reweight-by-utilization`` reweight OSDs by utilization
[overload-percentage-for-consideration, default 120].
Usage::
- ceph osd set pause|noup|nodown|noout|noin|nobackfill|norecover|noscrub|
- nodeep-scrub|notieragent
+ ceph osd set pause|noup|nodown|noout|noin|nobackfill|
+ norecover|noscrub|nodeep-scrub|notieragent
Subcommand ``setcrushmap`` sets crush map from input file.
Usage::
- ceph osd tier cache-mode <poolname> none|writeback|forward|readonly
+ ceph osd tier cache-mode <poolname> none|writeback|forward|readonly|
+ readforward
Subcommand ``remove`` removes the tier <tierpool> (the second one) from base pool
<pool> (the first one).
Usage::
- osd unset pause|noup|nodown|noout|noin|nobackfill|norecover|noscrub|
- nodeep-scrub|notieragent
+ ceph osd unset pause|noup|nodown|noout|noin|nobackfill|
+ norecover|noscrub|nodeep-scrub|notieragent
pg
ceph tell <name (type.id)> <args> [<args>...]
+version
+-------
+
+Show mon daemon version
+
+Usage::
+
+ ceph version
Options
=======
.fi
.sp
.nf
+\fBceph\fP \fBfs\fP [ \fIls\fP | \fInew\fP | \fIrm\fP ] ...
+.fi
+.sp
+.nf
\fBceph\fP \fBfsid\fP
.fi
.sp
.fi
.sp
.nf
-\fBceph\fP \fBosd\fP [ \fIblacklist\fP | \fIcreate\fP | \fIdeep\-scrub\fP | \fIdown\fP | \fIdump\fP | \fIerasure\-code\-profile\fP | \fIfind\fP | \fIgetcrushmap\fP | \fIgetmap\fP | \fIgetmaxosd\fP | \fIin\fP | \fIlost\fP | \fIls\fP | \fIlspools\fP | \fImap\fP | \fImetadata\fP | \fIout\fP | \fIpause\fP | \fIperf\fP | \fIprimary\-affinity\fP | \fIprimary\-temp\fP | \fIrepair\fP | \fIreweight\fP | \fIreweight\-by\-utilization\fP | \fIrm\fP | \fIscrub\fP | \fIset\fP | \fIsetcrushmap\fP | \fIsetmaxosd\fP | \fIstat\fP | \fIthrash\fP | \fItree\fP | \fIunpause\fP | \fIunset\fP ] ...
+\fBceph\fP \fBosd\fP [ \fIblacklist\fP | \fIblocked\-by\fP | \fIcreate\fP | \fIdeep\-scrub\fP | \fIdown\fP | \fIdump\fP | \fIerasure\-code\-profile\fP | \fIfind\fP | \fIgetcrushmap\fP | \fIgetmap\fP | \fIgetmaxosd\fP | \fIin\fP | \fIlost\fP | \fIls\fP | \fIlspools\fP | \fImap\fP | \fImetadata\fP | \fIout\fP | \fIpause\fP | \fIperf\fP | \fIpg\-temp\fP | \fIprimary\-affinity\fP | \fIprimary\-temp\fP | \fIrepair\fP | \fIreweight\fP | \fIreweight\-by\-pg\fP | \fIreweight\-by\-utilization\fP | \fIrm\fP | \fIscrub\fP | \fIset\fP | \fIsetcrushmap\fP | \fIsetmaxosd\fP | \fIstat\fP | \fIthrash\fP | \fItree\fP | \fIunpause\fP | \fIunset\fP ] ...
.fi
.sp
.nf
-\fBceph\fP \fBosd\fP \fBcrush\fP [ \fIadd\fP | \fIadd\-bucket\fP | \fIcreate\-or\-move\fP | \fIdump\fP | \fIget\-tunable\fP | \fIlink\fP | \fImove\fP | \fIremove\fP | \fIreweight\fP | \fIreweight\-all\fP | \fIrm\fP | \fIrule\fP | \fIset\fP | \fIset\-tunable\fP | \fIshow\-tunables\fP | \fItunables\fP | \fIunlink\fP ] ...
+\fBceph\fP \fBosd\fP \fBcrush\fP [ \fIadd\fP | \fIadd\-bucket\fP | \fIcreate\-or\-move\fP | \fIdump\fP | \fIlink\fP | \fImove\fP | \fIremove\fP | \fIreweight\fP | \fIreweight\-subtree\fP | \fIrm\fP | \fIrule\fP | \fIset\fP | \fIshow\-tunables\fP | \fItunables\fP | \fIunlink\fP ] ...
.fi
.sp
.nf
OSD. It uses some additional subcommands.
.sp
Subcommand \fBadd\fP adds authentication info for a particular entity from input
-file, or random key if no input given and/or any caps specified in the command.
+file, or random key if no input is given and/or any caps specified in the command.
.sp
Usage:
.INDENT 0.0
.fi
.UNINDENT
.UNINDENT
+.SS fs
+.sp
+Manage cephfs filesystems. It uses some additional subcommands.
+.sp
+Subcommand \fBls\fP to list filesystems
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph fs ls
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Subcommand \fBnew\fP to make a new filesystem using named pools <metadata> and <data>
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph fs new <fs_name> <metadata> <data>
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
+Subcommand \fBrm\fP to disable the named filesystem
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph fs rm <fs_name> {\-\-yes\-i\-really\-mean\-it}
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
.SS fsid
.sp
Show cluster\(aqs FSID/UUID.
.UNINDENT
.UNINDENT
.sp
+Subcommand \fBblocked\-by\fP prints a histogram of which OSDs are blocking their peers
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph osd blocked\-by
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
Subcommand \fBcreate\fP creates new osd (with optional UUID).
.sp
Usage:
.UNINDENT
.UNINDENT
.sp
-Subcommand \fBget\-tunable\fP get crush tunable straw_calc_version
-.sp
-Usage:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-ceph osd crush get\-tunable straw_calc_version
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.sp
Subcommand \fBlink\fP links existing entry for <name> under location <args>.
.sp
Usage:
.UNINDENT
.UNINDENT
.sp
-Subcommand \fBreweight\-all\fP recalculate the weights for the tree to
-ensure they sum correctly
+Subcommand \fBreweight\-subtree\fP changes all leaf items beneath <name>
+to <weight> in crush map
.sp
Usage:
.INDENT 0.0
.sp
.nf
.ft C
-ceph osd crush reweight\-all
+ceph osd crush reweight\-subtree <name> <weight>
.ft P
.fi
.UNINDENT
.UNINDENT
.UNINDENT
.sp
-Subcommand \fBset\-tunable\fP set crush tunable <tunable> to <value>. The only
-tunable that can be set is straw_calc_version.
-.sp
-Usage:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-ceph osd crush set\-tunable straw_calc_version <value>
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.sp
Subcommand \fBshow\-tunables\fP shows current crush tunables.
.sp
Usage:
.nf
.ft C
ceph osd pool create <poolname> <int[0\-]> {<int[0\-]>} {replicated|erasure}
-{<erasure_code_profile>} {<ruleset>}
+{<erasure_code_profile>} {<ruleset>} {<int>}
.ft P
.fi
.UNINDENT
ceph osd pool get <poolname> cache_target_dirty_ratio|cache_target_full_ratio
ceph osd pool get <poolname> cache_min_flush_age|cache_min_evict_age|
-erasure_code_profile
+erasure_code_profile|min_read_recency_for_promote
.ft P
.fi
.UNINDENT
.sp
.nf
.ft C
-ceph osd pool set <poolname> size|min_size|crash_replay_interval|
-pg_num|pgp_num|crush_ruleset|hashpspool|hit_set_type|hit_set_period|
-hit_set_count|hit_set_fpp|debug_fake_ec_pool| target_max_bytes|
+ceph osd pool set <poolname> size|min_size|crash_replay_interval|pg_num|
+pgp_num|crush_ruleset|hashpspool|hit_set_type|hit_set_period|
+hit_set_count|hit_set_fpp|debug_fake_ec_pool|target_max_bytes|
target_max_objects|cache_target_dirty_ratio|cache_target_full_ratio|
-cache_min_flush_age|cache_min_evict_age|auid
-<val> {\-\-yes\-i\-really\-mean\-it}
+cache_min_flush_age|cache_min_evict_age|auid|
+min_read_recency_for_promote <val> {\-\-yes\-i\-really\-mean\-it}
.ft P
.fi
.UNINDENT
.UNINDENT
.UNINDENT
.sp
+Subcommand \fBreweight\-by\-pg\fP reweight OSDs by PG distribution
+[overload\-percentage\-for\-consideration, default 120].
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph osd reweight\-by\-pg {<int[100\-]>} {<poolname> [<poolname...]}
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
+.sp
Subcommand \fBreweight\-by\-utilization\fP reweight OSDs by utilization
[overload\-percentage\-for\-consideration, default 120].
.sp
.sp
.nf
.ft C
-ceph osd set pause|noup|nodown|noout|noin|nobackfill|norecover|noscrub|
-nodeep\-scrub|notieragent
+ceph osd set pause|noup|nodown|noout|noin|nobackfill|
+norecover|noscrub|nodeep\-scrub|notieragent
.ft P
.fi
.UNINDENT
.sp
.nf
.ft C
-ceph osd tier cache\-mode <poolname> none|writeback|forward|readonly
+ceph osd tier cache\-mode <poolname> none|writeback|forward|readonly|
+readforward
.ft P
.fi
.UNINDENT
.sp
.nf
.ft C
-osd unset pause|noup|nodown|noout|noin|nobackfill|norecover|noscrub|
-nodeep\-scrub|notieragent
+ceph osd unset pause|noup|nodown|noout|noin|nobackfill|
+norecover|noscrub|nodeep\-scrub|notieragent
.ft P
.fi
.UNINDENT
.fi
.UNINDENT
.UNINDENT
+.SS version
+.sp
+Show mon daemon version
+.sp
+Usage:
+.INDENT 0.0
+.INDENT 3.5
+.sp
+.nf
+.ft C
+ceph version
+.ft P
+.fi
+.UNINDENT
+.UNINDENT
.SH OPTIONS
.INDENT 0.0
.TP