5 ``mon force standby active``
7 :Description: If ``true`` monitors force standby-replay to be active. Set
8 under ``[mon]`` or ``[global]``.
16 :Description: The maximum allowed file size to set when creating a
19 :Type: 64-bit Integer Unsigned
20 :Default: ``1ULL << 40``
22 ``mds cache memory limit``
24 :Description: The memory limit the MDS should enforce for its cache.
25 Administrators should use this instead of ``mds cache size``.
26 :Type: 64-bit Integer Unsigned
27 :Default: ``1073741824``
29 ``mds cache reservation``
31 :Description: The cache reservation (memory or inodes) for the MDS cache to maintain.
32 Once the MDS begins dipping into its reservation, it will recall
33 client state until its cache size shrinks to restore the
40 :Description: The number of inodes to cache. A value of 0 indicates an
41 unlimited number. It is recommended to use
42 ``mds_cache_memory_limit`` to limit the amount of memory the MDS
49 :Description: The insertion point for new items in the cache LRU
56 ``mds dir commit ratio``
58 :Description: The fraction of directory that is dirty before Ceph commits using
59 a full update (instead of partial update).
65 ``mds dir max commit size``
67 :Description: The maximum size of a directory update before Ceph breaks it into
68 smaller transactions) (MB).
74 ``mds decay halflife``
76 :Description: The half-life of MDS cache temperature.
80 ``mds beacon interval``
82 :Description: The frequency (in seconds) of beacon messages sent
91 :Description: The interval without beacons before Ceph declares an MDS laggy
92 (and possibly replace it).
98 ``mds blacklist interval``
100 :Description: The blacklist duration for failed MDSs in the OSD map.
102 :Default: ``24.0*60.0``
105 ``mds session timeout``
107 :Description: The interval (in seconds) of client inactivity before Ceph
108 times out capabilities and leases.
114 ``mds session autoclose``
116 :Description: The interval (in seconds) before Ceph closes
117 a laggy client's session.
123 ``mds reconnect timeout``
125 :Description: The interval (in seconds) to wait for clients to reconnect
132 ``mds tick interval``
134 :Description: How frequently the MDS performs internal periodic tasks.
139 ``mds dirstat min interval``
141 :Description: The minimum interval (in seconds) to try to avoid propagating
142 recursive stats up the tree.
147 ``mds scatter nudge interval``
149 :Description: How quickly dirstat changes propagate up.
154 ``mds client prealloc inos``
156 :Description: The number of inode numbers to preallocate per client session.
157 :Type: 32-bit Integer
163 :Description: Determines whether the MDS should allow clients to see request
164 results before they commit to the journal.
172 :Description: Use trivialmap for directory updates.
177 ``mds default dir hash``
179 :Description: The function to use for hashing files across directory fragments.
180 :Type: 32-bit Integer
181 :Default: ``2`` (i.e., rjenkins)
184 ``mds log skip corrupt events``
186 :Description: Determines whether the MDS should try to skip corrupt journal
187 events during journal replay.
193 ``mds log max events``
195 :Description: The maximum events in the journal before we initiate trimming.
196 Set to ``-1`` to disable limits.
198 :Type: 32-bit Integer
202 ``mds log max segments``
204 :Description: The maximum number of segments (objects) in the journal before
205 we initiate trimming. Set to ``-1`` to disable limits.
207 :Type: 32-bit Integer
211 ``mds log max expiring``
213 :Description: The maximum number of segments to expire in parallels
214 :Type: 32-bit Integer
218 ``mds log eopen size``
220 :Description: The maximum number of inodes in an EOpen event.
221 :Type: 32-bit Integer
225 ``mds bal sample interval``
227 :Description: Determines how frequently to sample directory temperature
228 (for fragmentation decisions).
234 ``mds bal replicate threshold``
236 :Description: The maximum temperature before Ceph attempts to replicate
237 metadata to other nodes.
243 ``mds bal unreplicate threshold``
245 :Description: The minimum temperature before Ceph stops replicating
246 metadata to other nodes.
254 :Description: Determines whether the MDS will fragment directories.
259 ``mds bal split size``
261 :Description: The maximum directory size before the MDS will split a directory
262 fragment into smaller bits.
264 :Type: 32-bit Integer
270 :Description: The maximum directory read temperature before Ceph splits
271 a directory fragment.
279 :Description: The maximum directory write temperature before Ceph splits
280 a directory fragment.
286 ``mds bal split bits``
288 :Description: The number of bits by which to split a directory fragment.
289 :Type: 32-bit Integer
293 ``mds bal merge size``
295 :Description: The minimum directory size before Ceph tries to merge
296 adjacent directory fragments.
298 :Type: 32-bit Integer
304 :Description: The frequency (in seconds) of workload exchanges between MDSs.
305 :Type: 32-bit Integer
309 ``mds bal fragment interval``
311 :Description: The delay (in seconds) between a fragment being elegible for split
312 or merge and executing the fragmentation change.
313 :Type: 32-bit Integer
317 ``mds bal fragment fast factor``
319 :Description: The ratio by which frags may exceed the split size before
320 a split is executed immediately (skipping the fragment interval)
324 ``mds bal fragment size max``
326 :Description: The maximum size of a fragment before any new entries
327 are rejected with ENOSPC.
328 :Type: 32-bit Integer
331 ``mds bal idle threshold``
333 :Description: The minimum temperature before Ceph migrates a subtree
342 :Description: The number of iterations to run balancer before Ceph stops.
343 (used for testing purposes only)
345 :Type: 32-bit Integer
349 ``mds bal max until``
351 :Description: The number of seconds to run balancer before Ceph stops.
352 (used for testing purposes only)
354 :Type: 32-bit Integer
360 :Description: The method for calculating MDS load.
363 - ``1`` = Request rate and latency.
366 :Type: 32-bit Integer
370 ``mds bal min rebalance``
372 :Description: The minimum subtree temperature before Ceph migrates.
377 ``mds bal min start``
379 :Description: The minimum subtree temperature before Ceph searches a subtree.
386 :Description: The minimum fraction of target subtree size to accept.
393 :Description: The maximum fraction of target subtree size to accept.
400 :Description: Ceph will migrate any subtree that is larger than this fraction
401 of the target subtree size.
409 :Description: Ceph will ignore any subtree that is smaller than this fraction
410 of the target subtree size.
416 ``mds bal target removal min``
418 :Description: The minimum number of balancer iterations before Ceph removes
419 an old MDS target from the MDS map.
421 :Type: 32-bit Integer
425 ``mds bal target removal max``
427 :Description: The maximum number of balancer iteration before Ceph removes
428 an old MDS target from the MDS map.
430 :Type: 32-bit Integer
434 ``mds replay interval``
436 :Description: The journal poll interval when in standby-replay mode.
443 ``mds shutdown check``
445 :Description: The interval for polling the cache during MDS shutdown.
446 :Type: 32-bit Integer
450 ``mds thrash exports``
452 :Description: Ceph will randomly export subtrees between nodes (testing only).
453 :Type: 32-bit Integer
457 ``mds thrash fragments``
459 :Description: Ceph will randomly fragment or merge directories.
460 :Type: 32-bit Integer
464 ``mds dump cache on map``
466 :Description: Ceph will dump the MDS cache contents to a file on each MDSMap.
471 ``mds dump cache after rejoin``
473 :Description: Ceph will dump MDS cache contents to a file after
474 rejoining the cache (during recovery).
480 ``mds verify scatter``
482 :Description: Ceph will assert that various scatter/gather invariants
483 are ``true`` (developers only).
489 ``mds debug scatterstat``
491 :Description: Ceph will assert that various recursive stat invariants
492 are ``true`` (for developers only).
500 :Description: Ceph will verify directory fragmentation invariants
501 when convenient (developers only).
507 ``mds debug auth pins``
509 :Description: The debug auth pin invariants (for developers only).
514 ``mds debug subtrees``
516 :Description: The debug subtree invariants (for developers only).
521 ``mds kill mdstable at``
523 :Description: Ceph will inject MDS failure in MDSTable code
524 (for developers only).
526 :Type: 32-bit Integer
530 ``mds kill export at``
532 :Description: Ceph will inject MDS failure in the subtree export code
533 (for developers only).
535 :Type: 32-bit Integer
539 ``mds kill import at``
541 :Description: Ceph will inject MDS failure in the subtree import code
542 (for developers only).
544 :Type: 32-bit Integer
550 :Description: Ceph will inject MDS failure in hard link code
551 (for developers only).
553 :Type: 32-bit Integer
557 ``mds kill rename at``
559 :Description: Ceph will inject MDS failure in the rename code
560 (for developers only).
562 :Type: 32-bit Integer
566 ``mds wipe sessions``
568 :Description: Ceph will delete all client sessions on startup
575 ``mds wipe ino prealloc``
577 :Description: Ceph will delete ino preallocation metadata on startup
586 :Description: The number of inode numbers to skip on startup
589 :Type: 32-bit Integer
593 ``mds standby for name``
595 :Description: An MDS daemon will standby for another MDS daemon of the name
596 specified in this setting.
602 ``mds standby for rank``
604 :Description: An MDS daemon will standby for an MDS daemon of this rank.
605 :Type: 32-bit Integer
609 ``mds standby replay``
611 :Description: Determines whether a ``ceph-mds`` daemon should poll and replay
612 the log of an active MDS (hot standby).