2016-07-25 03:21:29 +00:00
========================
Client Config Reference
========================
`` client acl type ``
2017-03-21 04:49:45 +00:00
:Description: Set the ACL type. Currently, only possible value is ``"posix_acl"`` to enable POSIX ACL, or an empty string. This option only takes effect when the ``fuse_default_permissions`` is set to ``false``.
2017-02-16 09:45:36 +00:00
2016-07-25 03:21:29 +00:00
:Type: String
2017-02-16 09:45:36 +00:00
:Default: ``""`` (no ACL enforcement)
2016-07-25 03:21:29 +00:00
`` client cache mid ``
2017-01-23 15:34:55 +00:00
:Description: Set client cache midpoint. The midpoint splits the least recently used lists into a hot and warm list.
2016-07-25 03:21:29 +00:00
:Type: Float
:Default: ``0.75``
2018-01-29 10:24:05 +00:00
`` client cache size ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the number of inodes that the client keeps in the metadata cache.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``16384``
2018-01-29 10:24:05 +00:00
`` client caps release delay ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the delay between capability releases in seconds. The delay sets how many seconds a client waits to release capabilities that it no longer needs in case the capabilities are needed for another user space operation.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``5`` (seconds)
2018-01-29 10:24:05 +00:00
`` client debug force sync read ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: If set to ``true``, clients read data directly from OSDs instead of using a local page cache.
2016-07-25 03:21:29 +00:00
:Type: Boolean
:Default: ``false``
2018-01-29 10:24:05 +00:00
`` client dirsize rbytes ``
2016-07-25 03:21:29 +00:00
2017-04-28 01:53:17 +00:00
:Description: If set to ``true``, use the recursive size of a directory (that is, total of all descendants).
2016-07-25 03:21:29 +00:00
:Type: Boolean
:Default: ``true``
2018-01-29 10:24:05 +00:00
`` client max inline size ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the maximum size of inlined data stored in a file inode rather than in a separate data object in RADOS. This setting only applies if the ``inline_data`` flag is set on the MDS map.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``4096``
2018-01-29 10:24:05 +00:00
`` client metadata ``
2016-07-25 03:21:29 +00:00
2017-02-16 09:45:36 +00:00
:Description: Comma-delimited strings for client metadata sent to each MDS, in addition to the automatically generated version, host name, and other metadata.
2016-07-25 03:21:29 +00:00
:Type: String
2017-02-16 09:45:36 +00:00
:Default: ``""`` (no additional metadata)
2016-07-25 03:21:29 +00:00
2018-01-29 10:24:05 +00:00
`` client mount gid ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the group ID of CephFS mount.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``-1``
2018-01-29 10:24:05 +00:00
`` client mount timeout ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the timeout for CephFS mount in seconds.
2016-07-25 03:21:29 +00:00
:Type: Float
2017-01-23 15:34:55 +00:00
:Default: ``300.0``
2016-07-25 03:21:29 +00:00
2018-01-29 10:24:05 +00:00
`` client mount uid ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the user ID of CephFS mount.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``-1``
2018-01-29 10:24:05 +00:00
`` client mountpoint ``
2016-07-25 03:21:29 +00:00
2017-04-28 01:53:17 +00:00
:Description: Directory to mount on the CephFS file system. An alternative to the ``-r`` option of the ``ceph-fuse`` command.
2016-07-25 03:21:29 +00:00
:Type: String
:Default: ``"/"``
2018-01-29 10:24:05 +00:00
`` client oc ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Enable object caching.
2016-07-25 03:21:29 +00:00
:Type: Boolean
:Default: ``true``
2018-01-29 10:24:05 +00:00
`` client oc max dirty ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the maximum number of dirty bytes in the object cache.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``104857600`` (100MB)
2018-01-29 10:24:05 +00:00
`` client oc max dirty age ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the maximum age in seconds of dirty data in the object cache before writeback.
2016-07-25 03:21:29 +00:00
:Type: Float
:Default: ``5.0`` (seconds)
2018-01-29 10:24:05 +00:00
`` client oc max objects ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the maximum number of objects in the object cache.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``1000``
2018-01-29 10:24:05 +00:00
`` client oc size ``
2016-07-25 03:21:29 +00:00
2017-02-16 09:45:36 +00:00
:Description: Set how many bytes of data will the client cache.
2016-07-25 03:21:29 +00:00
:Type: Integer
2017-02-16 09:45:36 +00:00
:Default: ``209715200`` (200 MB)
2016-07-25 03:21:29 +00:00
2018-01-29 10:24:05 +00:00
`` client oc target dirty ``
2016-07-25 03:21:29 +00:00
2017-01-26 11:23:34 +00:00
:Description: Set the target size of dirty data. We recommend to keep this number low.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``8388608`` (8MB)
2018-01-29 10:24:05 +00:00
`` client permissions ``
2016-07-25 03:21:29 +00:00
:Description: Check client permissions on all I/O operations.
:Type: Boolean
:Default: ``true``
2018-01-29 10:24:05 +00:00
`` client quota ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Enable client quota checking if set to ``true``.
2016-07-25 03:21:29 +00:00
:Type: Boolean
:Default: ``true``
2018-01-29 10:24:05 +00:00
`` client quota df ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Report root directory quota for the ``statfs`` operation.
2016-07-25 03:21:29 +00:00
:Type: Boolean
:Default: ``true``
2018-01-29 10:24:05 +00:00
`` client readahead max bytes ``
2016-07-25 03:21:29 +00:00
2017-12-14 20:37:17 +00:00
:Description: Set the maximum number of bytes that the client reads ahead for future read operations. Overridden by the ``client_readahead_max_periods`` setting.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``0`` (unlimited)
2018-01-29 10:24:05 +00:00
`` client readahead max periods ``
2016-07-25 03:21:29 +00:00
2017-12-14 20:37:17 +00:00
:Description: Set the number of file layout periods (object size * number of stripes) that the client reads ahead. Overrides the ``client_readahead_max_bytes`` setting.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``4``
2018-01-29 10:24:05 +00:00
`` client readahead min ``
2016-07-25 03:21:29 +00:00
2017-12-14 20:37:17 +00:00
:Description: Set the minimum number bytes that the client reads ahead.
2016-07-25 03:21:29 +00:00
:Type: Integer
:Default: ``131072`` (128KB)
2018-01-29 10:24:05 +00:00
`` client reconnect stale ``
2017-02-19 09:44:20 +00:00
:Description: Automatically reconnect stale session.
:Type: Boolean
:Default: ``false``
2018-01-29 10:24:05 +00:00
`` client snapdir ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the snapshot directory name.
2016-07-25 03:21:29 +00:00
:Type: String
:Default: ``".snap"``
2018-01-29 10:24:05 +00:00
`` client tick interval ``
2016-07-25 03:21:29 +00:00
2017-01-23 15:34:55 +00:00
:Description: Set the interval in seconds between capability renewal and other upkeep.
2016-07-25 03:21:29 +00:00
:Type: Float
:Default: ``1.0`` (seconds)
2018-01-29 10:24:05 +00:00
`` client use random mds ``
2016-07-25 03:21:29 +00:00
:Description: Choose random MDS for each request.
:Type: Boolean
:Default: ``false``
2018-01-29 10:24:05 +00:00
`` fuse default permissions ``
2017-01-23 15:34:55 +00:00
2017-02-16 09:45:36 +00:00
:Description: When set to ``false``, ``ceph-fuse`` utility checks does its own permissions checking, instead of relying on the permissions enforcement in FUSE. Set to ``false`` together with the ``client acl type=posix_acl`` option to enable POSIX ACL.
2017-01-23 15:34:55 +00:00
:Type: Boolean
:Default: ``true``
2016-07-25 03:21:29 +00:00
Developer Options
#################
2017-01-23 15:34:55 +00:00
.. important :: These options are internal. They are listed here only to complete the list of options.
2018-01-29 10:24:05 +00:00
`` client debug getattr caps ``
2017-02-16 09:45:36 +00:00
:Description: Check if the reply from the MDS contains required capabilities.
:Type: Boolean
:Default: ``false``
2018-01-29 10:24:05 +00:00
`` client debug inject tick delay ``
2017-02-16 09:45:36 +00:00
:Description: Add artificial delay between client ticks.
:Type: Integer
:Default: ``0``
2018-01-29 10:24:05 +00:00
`` client inject fixed oldest tid ``
2016-07-25 03:21:29 +00:00
:Description:
:Type: Boolean
:Default: ``false``
2018-01-29 10:24:05 +00:00
`` client inject release failure ``
2016-07-25 03:21:29 +00:00
:Description:
:Type: Boolean
:Default: ``false``
2018-01-29 10:24:05 +00:00
`` client trace ``
2017-02-16 09:45:36 +00:00
2017-04-28 01:53:17 +00:00
:Description: The path to the trace file for all file operations. The output is designed to be used by the Ceph `synthetic client <../../man/8/ceph-syn>`_.
2017-02-16 09:45:36 +00:00
:Type: String
:Default: ``""`` (disabled)
2016-07-25 03:21:29 +00:00