]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Add file system osd config settings 2466/head
authorKevin Dalley <kevin@kelphead.org>
Fri, 12 Sep 2014 00:19:08 +0000 (17:19 -0700)
committerKevin Dalley <kevin@kelphead.org>
Fri, 12 Sep 2014 00:19:08 +0000 (17:19 -0700)
Add documentation for osd mkfs and osd mount options.

Signed-off-by: Kevin Dalley <kevin@kelphead.org>
doc/rados/configuration/osd-config-ref.rst

index 5bc6bc8c81886abf6ecaab22426377e2661ca797..7b2549a8c3e90c169de24f096c3618cdaae5b8c1 100644 (file)
@@ -90,6 +90,33 @@ that Ceph uses the entire partition for the journal.
 :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