From aa5234edfccf919d585bedf9f2524ccd13c4094f Mon Sep 17 00:00:00 2001 From: Kevin Dalley Date: Thu, 11 Sep 2014 17:19:08 -0700 Subject: [PATCH] doc: Add file system osd config settings Add documentation for osd mkfs and osd mount options. Signed-off-by: Kevin Dalley --- doc/rados/configuration/osd-config-ref.rst | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 -- 2.47.3