mirror of
https://github.com/ceph/ceph
synced 2025-01-05 10:42:05 +00:00
Merge pull request #2466 from nereocystis/osd-filesystem-options
doc: Add file system osd config settings
This commit is contained in:
commit
a8c8c934d8
@ -90,6 +90,33 @@ that Ceph uses the entire partition for the journal.
|
|||||||
:Default: ``$libdir/rados-classes``
|
:Default: ``$libdir/rados-classes``
|
||||||
|
|
||||||
|
|
||||||
|
.. index:: OSD; file system
|
||||||
|
File System Settings
|
||||||
|
====================
|
||||||
|
Ceph builds and mounts file systems which are used for Ceph OSDs.
|
||||||
|
|
||||||
|
``osd mkfs options {fs-type}``
|
||||||
|
|
||||||
|
:Description: Options used when creating a new Ceph OSD of type {fs-type}.
|
||||||
|
|
||||||
|
:Type: String
|
||||||
|
:Default for xfs: ``-f``
|
||||||
|
:Default for other file systems: {empty string}
|
||||||
|
|
||||||
|
For example::
|
||||||
|
``osd mkfs options xfs = -f -d agcount=24``
|
||||||
|
|
||||||
|
``osd mount options {fs-type}``
|
||||||
|
|
||||||
|
:Description: Options used when mounting a Ceph OSD of type {fs-type}.
|
||||||
|
|
||||||
|
:Type: String
|
||||||
|
:Default for xfs: ``rw,noatime,inode64``
|
||||||
|
:Default for other file systems: ``rw, noatime``
|
||||||
|
|
||||||
|
For example::
|
||||||
|
``osd mount options xfs = rw, noatime, inode64, nobarrier, logbufs=8``
|
||||||
|
|
||||||
|
|
||||||
.. index:: OSD; journal settings
|
.. index:: OSD; journal settings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user