summaryrefslogtreecommitdiffstats
path: root/doc/cephfs/mds-config-ref.rst
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-03-30 01:32:00 +0100
committerJohn Wilkins <john.wilkins@inktank.com>2013-03-30 01:32:00 +0100
commitba73b8301ad7e115c2b5c30d073623747262cd6d (patch)
tree6bf1934d014311747958ebc0e4e591e34a6beb50 /doc/cephfs/mds-config-ref.rst
parentceph-disk list: say 'unknown cluster $UUID' when cluster is unknown (diff)
downloadceph-ba73b8301ad7e115c2b5c30d073623747262cd6d.tar.xz
ceph-ba73b8301ad7e115c2b5c30d073623747262cd6d.zip
doc: Cleanup.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Diffstat (limited to 'doc/cephfs/mds-config-ref.rst')
-rw-r--r--doc/cephfs/mds-config-ref.rst472
1 files changed, 328 insertions, 144 deletions
diff --git a/doc/cephfs/mds-config-ref.rst b/doc/cephfs/mds-config-ref.rst
index 0428b0b0925..a57e67ea10e 100644
--- a/doc/cephfs/mds-config-ref.rst
+++ b/doc/cephfs/mds-config-ref.rst
@@ -2,434 +2,618 @@
MDS Config Reference
======================
+``mon force standby active``
+
+:Description: If ``true`` monitors force standby-replay to be active. Set
+ under ``[mon]`` or ``[global]``.
+
+:Type: Boolean
+:Default: ``true``
+
+
+``max mds``
+
+:Description: The number of active MDS daemons during cluster creation. Set
+ under ``[mon]`` or ``[global]``.
+
+:Type: 32-bit Integer
+:Default: ``1``
+
+
``mds max file size``
-:Description: Maximum allowed file size to set when creating a new file system.
+:Description: The maximum allowed file size to set when creating a
+ new file system.
+
:Type: 64-bit Integer Unsigned
-:Default: 1ULL << 40
+:Default: ``1ULL << 40``
+
``mds cache size``
-:Description: Number of inodes to cache.
+:Description: The number of inodes to cache.
:Type: 32-bit Integer
-:Default: 100000
+:Default: ``100000``
+
``mds cache mid``
-:Description: Insertion point for new items in the cache LRU (from the top).
+:Description: The insertion point for new items in the cache LRU
+ (from the top).
+
:Type: Float
-:Default: 0.7
+:Default: ``0.7``
+
``mds dir commit ratio``
-:Description: fraction of directory that is dirty before we commit using a full update (intead of partial update)
+:Description: The fraction of directory that is dirty before Ceph commits using
+ a full update (instead of partial update).
+
:Type: Float
-:Default: 0.5
+:Default: ``0.5``
+
``mds dir max commit size``
-:Description: maximum size of a directory update (before we break it into smaller transactions) (MB)
+:Description: The maximum size of a directory update before Ceph breaks it into
+ smaller transactions) (MB).
+
:Type: 32-bit Integer
-:Default: 90
+:Default: ``90``
+
``mds decay halflife``
-:Description: half-life of mds cache temperature
+:Description: The half-life of MDS cache temperature.
:Type: Float
-:Default: 5
+:Default: ``5``
``mds beacon interval``
-:Description: frequency (in seconds) of beacon messages sent to the monitor
+:Description: The frequency (in seconds) of beacon messages sent
+ to the monitor.
+
:Type: Float
-:Default: 4
+:Default: ``4``
+
``mds beacon grace``
-:Description: interval of no beacons before we declare an mds laggy (and possibly replace it)
+:Description: The interval without beacons before Ceph declares an MDS laggy
+ (and possibly replace it).
+
:Type: Float
-:Default: 15
+:Default: ``15``
+
``mds blacklist interval``
-:Description: how long to blacklist failed mds's in the osdmap
+:Description: The blacklist duration for failed MDSs in the OSD map.
:Type: Float
-:Default: 24.0*60.0
+:Default: ``24.0*60.0``
+
``mds session timeout``
-:Description: interval (in seconds) of client inactivity before we time out capabilities and leases
+:Description: The interval (in seconds) of client inactivity before Ceph
+ times out capabilities and leases.
+
:Type: Float
-:Default: 60
+:Default: ``60``
+
``mds session autoclose``
-:Description: interval (in seconds) before we close a laggy client's session
+:Description: The interval (in seconds) before Ceph closes
+ a laggy client's session.
+
:Type: Float
-:Default: 300
+:Default: ``300``
+
``mds reconnect timeout``
-:Description: inter (in seconds) to wait for clients to reconnect during mds restart
+:Description: The interval (in seconds) to wait for clients to reconnect
+ during MDS restart.
+
:Type: Float
-:Default: 45
+:Default: ``45``
+
``mds tick interval``
-:Description: how frequently the mds does internal periodic tasks
+:Description: How frequently the MDS performs internal periodic tasks.
:Type: Float
-:Default: 5
+:Default: ``5``
+
``mds dirstat min interval``
-:Description: minimum interval (in seconds) to try to avoid propagating recursive stats up the tree
+:Description: The minimum interval (in seconds) to try to avoid propagating
+ recursive stats up the tree.
+
:Type: Float
-:Default: 1
+:Default: ``1``
``mds scatter nudge interval``
-:Description: how quickly dirstat changes propagate up
+:Description: How quickly dirstat changes propagate up.
:Type: Float
-:Default: 5
+:Default: ``5``
+
``mds client prealloc inos``
-:Description: number of inode numbers to preallocate per client session
+:Description: The number of inode numbers to preallocate per client session.
:Type: 32-bit Integer
-:Default: 1000
+:Default: ``1000``
+
``mds early reply``
-:Description: whether the mds should allow clients to see request results before they commit to the journal
+:Description: Determines whether the MDS should allow clients to see request
+ results before they commit to the journal.
+
:Type: Boolean
-:Default: true
+:Default: ``true``
+
``mds use tmap``
-:Description: use trivialmap for dir updates
+:Description: Use trivialmap for directory updates.
:Type: Boolean
-:Default: true
+:Default: ``true``
+
``mds default dir hash``
-:Description: function to use for hashing files across directory fragments
+:Description: The function to use for hashing files across directory fragments.
:Type: 32-bit Integer
-:Default: 2 (rjenkins)
+:Default: ``2`` (i.e., rjenkins)
+
``mds log``
-:Description: true if the mds should journal metadata updates (disabled for benchmarking only)
+:Description: Set to ``true`` if the MDS should journal metadata updates
+ (disabled for benchmarking only).
+
:Type: Boolean
-:Default: true
+:Default: ``true``
+
``mds log skip corrupt events``
-:Description: whether the mds should try to skip corrupt journal events during journal replay
+:Description: Determines whether the MDS should try to skip corrupt journal
+ events during journal replay.
+
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds log max events``
-:Description: maximum events in the journal before we initiate trimming; -1 to disable limit
+:Description: The maximum events in the journal before we initiate trimming.
+ Set to ``-1`` to disable limits.
+
:Type: 32-bit Integer
-:Default: -1
+:Default: ``-1``
+
``mds log max segments``
-:Description: maximum segments (objects) in the journal before we initiate trimming; -1 to disable limit
+:Description: The maximum number of segments (objects) in the journal before
+ we initiate trimming. Set to ``-1`` to disable limits.
+
:Type: 32-bit Integer
-:Default: 30
+:Default: ``30``
+
``mds log max expiring``
-:Description: maximum number of segments to expire in parallel
+:Description: The maximum number of segments to expire in parallels
:Type: 32-bit Integer
-:Default: 20
+:Default: ``20``
+
``mds log eopen size``
-:Description: maximum number of inodes in an EOpen event
+:Description: The maximum number of inodes in an EOpen event.
:Type: 32-bit Integer
-:Default: 100
+:Default: ``100``
+
``mds bal sample interval``
-:Description: how frequently to sample directory temperature (for fragmentation decisions)
+:Description: Determines how frequently to sample directory temperature
+ (for fragmentation decisions).
+
:Type: Float
-:Default: 3
+:Default: ``3``
+
``mds bal replicate threshold``
-:Description: max temperature before we attempt to replicate metadata to other nodes
+:Description: The maximum temperature before Ceph attempts to replicate
+ metadata to other nodes.
+
:Type: Float
-:Default: 8000
+:Default: ``8000``
+
``mds bal unreplicate threshold``
-:Description: min temperature before we stop replicating metadata to other nodes
+:Description: The minimum temperature before Ceph stops replicating
+ metadata to other nodes.
+
:Type: Float
-:Default: 0
+:Default: ``0``
+
``mds bal frag``
-:Description: whether the MDS will fragment directories
+:Description: Determines whether the MDS will fragment directories.
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds bal split size``
-:Description: maximum directory size before the MDS will split a directory fragment into smaller bits
+:Description: The maximum directory size before the MDS will split a directory
+ fragment into smaller bits.
+
:Type: 32-bit Integer
-:Default: 10000
+:Default: ``10000``
+
``mds bal split rd``
-:Description: maximum directory read temperature before we split a directory fragment
+:Description: The maximum directory read temperature before Ceph splits
+ a directory fragment.
+
:Type: Float
-:Default: 25000
+:Default: ``25000``
+
``mds bal split wr``
-:Description: maximum directory write temperature before we split a directory fragment
+:Description: The maximum directory write temperature before Ceph splits
+ a directory fragment.
+
:Type: Float
-:Default: 10000
+:Default: ``10000``
+
``mds bal split bits``
-:Description: number of bits to split a directory fragment by
+:Description: The number of bits by which to split a directory fragment.
:Type: 32-bit Integer
-:Default: 3
+:Default: ``3``
+
``mds bal merge size``
-:Description: minimum directory size before we try to merge adjacent directory fragments
+:Description: The minimum directory size before Ceph tries to merge
+ adjacent directory fragments.
+
:Type: 32-bit Integer
-:Default: 50
+:Default: ``50``
+
``mds bal merge rd``
-:Description: minimum read temperature before we merge adjacent directory fragments
+:Description: The minimum read temperature before Ceph merges
+ adjacent directory fragments.
+
:Type: Float
-:Default: 1000
+:Default: ``1000``
+
``mds bal merge wr``
-:Description: minimum write temperature before we merge adjacent directory fragments
+:Description: The minimum write temperature before Ceph merges
+ adjacent directory fragments.
+
:Type: Float
-:Default: 1000
+:Default: ``1000``
+
``mds bal interval``
-:Description: frequency (in seconds) of workload exchanges between MDSs
+:Description: The frequency (in seconds) of workload exchanges between MDSs.
:Type: 32-bit Integer
-:Default: 10
+:Default: ``10``
+
``mds bal fragment interval``
-:Description: frequency (in seconds) of adjusting directory fragmentation
+:Description: The frequency (in seconds) of adjusting directory fragmentation.
:Type: 32-bit Integer
-:Default: 5
+:Default: ``5``
+
``mds bal idle threshold``
-:Description: minimum temperature before we migrate a subtree back to its parent
+:Description: The minimum temperature before Ceph migrates a subtree
+ back to its parent.
+
:Type: Float
-:Default: 0
+:Default: ``0``
+
``mds bal max``
-:Description: number of iterations to run balancer before we stop (used for testing purposes only)
+:Description: The number of iterations to run balancer before Ceph stops.
+ (used for testing purposes only)
+
:Type: 32-bit Integer
-:Default: -1
+:Default: ``-1``
+
``mds bal max until``
-:Description: number of seconds to run balancer before we stop (used for testing purposes only)
+:Description: The number of seconds to run balancer before Ceph stops.
+ (used for testing purposes only)
+
:Type: 32-bit Integer
-:Default: -1
+:Default: ``-1``
+
``mds bal mode``
-:Description: method for calculating MDS load (1 = hybrid, 2 = request rate and latency, 3 = cpu load)
+:Description: The method for calculating MDS load.
+
+ - ``1`` = Hybrid.
+ - ``2`` = Request rate and latency.
+ - ``3`` = CPU load.
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds bal min rebalance``
-:Description: minimum subtree temperature before we migrate
+:Description: The minimum subtree temperature before Ceph migrates.
:Type: Float
-:Default: 0.1
+:Default: ``0.1``
+
``mds bal min start``
-:Description: minimum subtree temperature before we search a subtree
+:Description: The minimum subtree temperature before Ceph searches a subtree.
:Type: Float
-:Default: 0.2
+:Default: ``0.2``
+
``mds bal need min``
-:Description: minimum fraction of target subtree size to accept
+:Description: The minimum fraction of target subtree size to accept.
:Type: Float
-:Default: 0.8
+:Default: ``0.8``
+
``mds bal need max``
-:Description: maximum fraction of target subtree size to accept
+:Description: The maximum fraction of target subtree size to accept.
:Type: Float
-:Default: 1.2
+:Default: ``1.2``
+
``mds bal midchunk``
-:Description: migrate any subtree that is larger than this fraction of the target subtree size
+:Description: Ceph will migrate any subtree that is larger than this fraction
+ of the target subtree size.
+
:Type: Float
-:Default: 0.3
+:Default: ``0.3``
+
``mds bal minchunk``
-:Description: ignore any subtree that is smaller than this fraction of the target subtree size
+:Description: Ceph will ignore any subtree that is smaller than this fraction
+ of the target subtree size.
+
:Type: Float
-:Default: 0.001
+:Default: ``0.001``
+
``mds bal target removal min``
-:Description: min number of balancer iterations before an old MDS target is removed from the mdsmap
+:Description: The minimum number of balancer iterations before Ceph removes
+ an old MDS target from the MDS map.
+
:Type: 32-bit Integer
-:Default: 5
+:Default: ``5``
+
``mds bal target removal max``
-:Description: max number of balancer iteration before an old MDS target is removed from the mdsmap
+:Description: The maximum number of balancer iteration before Ceph removes
+ an old MDS target from the MDS map.
+
:Type: 32-bit Integer
-:Default: 10
+:Default: ``10``
+
``mds replay interval``
-:Description: journal poll interval when in standby-replay ("hot standby") mode
+:Description: The journal poll interval when in standby-replay mode.
+ ("hot standby")
+
:Type: Float
-:Default: 1
+:Default: ``1``
+
``mds shutdown check``
-:Description: interval for polling cache during MDS shutdown
+:Description: The interval for polling the cache during MDS shutdown.
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds thrash exports``
-:Description: randomly export subtrees between nodes (testing only)
+:Description: Ceph will randomly export subtrees between nodes (testing only).
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds thrash fragments``
-:Description: randomly fragment or merge directories
+:Description: Ceph will randomly fragment or merge directories.
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds dump cache on map``
-:Description: dump mds cache contents to a file on each MDSMap
+:Description: Ceph will dump the MDS cache contents to a file on each MDSMap.
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds dump cache after rejoin``
-:Description: dump mds cache contents to a file after rejoining cache (during recovery)
+:Description: Ceph will dump MDS cache contents to a file after
+ rejoining the cache (during recovery).
+
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds verify scatter``
-:Description: assert that various scatter/gather invariants are true (dev only)
+:Description: Ceph will assert that various scatter/gather invariants
+ are ``true`` (developers only).
+
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds debug scatterstat``
-:Description: assert that various recursive stat invariants are true (dev only
+:Description: Ceph will assert that various recursive stat invariants
+ are ``true`` (for developers only).
+
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds debug frag``
-:Description: verify directory fragmentation invariants when convenient (dev only)
+:Description: Ceph will verify directory fragmentation invariants
+ when convenient (developers only).
+
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds debug auth pins``
-:Description: debug auth pin invariants (dev only)
+:Description: The debug auth pin invariants (for developers only).
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds debug subtrees``
-:Description: debug subtree invariants (dev only)
+:Description: The debug subtree invariants (for developers only).
:Type: Boolean
-:Default: false
+:Default: ``false``
+
``mds kill mdstable at``
-:Description: inject mds failure in MDSTable code (dev only)
+:Description: Ceph will inject MDS failure in MDSTable code
+ (for developers only).
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds kill export at``
-:Description: inject mds failure in subtree export code (dev only)
+:Description: Ceph will inject MDS failure in the subtree export code
+ (for developers only).
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds kill import at``
-:Description: inject mds failure in subtree import code (dev only)
+:Description: Ceph will inject MDS failure in the subtree import code
+ (for developers only).
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds kill link at``
-:Description: inject mds failure in hard link code (dev only)
+:Description: Ceph will inject MDS failure in hard link code
+ (for developers only).
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds kill rename at``
-:Description: inject mds failure in rename code (dev only)
+:Description: Ceph will inject MDS failure in the rename code
+ (for developers only).
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds wipe sessions``
-:Description: delete all client sessions on startup (testing only)
+:Description: Ceph will delete all client sessions on startup
+ (for testing only).
+
:Type: Boolean
-:Default: 0
+:Default: ``0``
+
``mds wipe ino prealloc``
-:Description: delete ino preallocation metadata on startup (testing only)
+:Description: Ceph will delete ino preallocation metadata on startup
+ (for testing only).
+
:Type: Boolean
-:Default: 0
+:Default: ``0``
+
``mds skip ino``
-:Description: number of inode numbers to skip on startup (testing only)
+:Description: The number of inode numbers to skip on startup
+ (for testing only).
+
:Type: 32-bit Integer
-:Default: 0
+:Default: ``0``
+
``mds standby for name``
-:Description: name of MDS for a ceph-mds daemon to standby for
+:Description: An MDS daemon will standby for another MDS daemon of the name
+ specified in this setting.
+
:Type: String
-:Default:
+:Default: N/A
+
``mds standby for rank``
-:Description: rank of MDS for a ceph-mds daemon to standby for
+:Description: An MDS daemon will standby for an MDS daemon of this rank.
:Type: 32-bit Integer
-:Default: -1
+:Default: ``-1``
+
``mds standby replay``
-:Description: whether a ceph-mds should poll and replay the log an active mds (hot standby)
+:Description: Determines whether a ``ceph-mds`` daemon should poll and replay
+ the log of an active MDS (hot standby).
+
:Type: Boolean
-:Default: false
+:Default: ``false``