From: Kevin Dalley Date: Fri, 12 Sep 2014 00:19:08 +0000 (-0700) Subject: doc: Add file system osd config settings X-Git-Tag: v0.89~21^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aa5234edfccf919d585bedf9f2524ccd13c4094f;p=ceph.git doc: Add file system osd config settings Add documentation for osd mkfs and osd mount options. Signed-off-by: Kevin Dalley --- diff --git a/doc/rados/configuration/osd-config-ref.rst b/doc/rados/configuration/osd-config-ref.rst index 5bc6bc8c8188..7b2549a8c3e9 100644 --- a/doc/rados/configuration/osd-config-ref.rst +++ b/doc/rados/configuration/osd-config-ref.rst @@ -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