summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2012-06-07 11:35:37 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2012-06-07 11:35:37 -0700
commit07169d2e4309d8f0023ef6ce679b5c352aa14396 (patch)
tree441cf910f70c37e65095303b8c24b23399ce3340 /doc
parent7d1b32a091e1aeb7c25a31ce0a4b14dce7b5e7bc (diff)
downloadceph-07169d2e4309d8f0023ef6ce679b5c352aa14396.tar.gz
doc: Added mount cephfs with fstab.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/cephfs/fstab.rst19
-rw-r--r--doc/cephfs/index.rst3
2 files changed, 21 insertions, 1 deletions
diff --git a/doc/cephfs/fstab.rst b/doc/cephfs/fstab.rst
new file mode 100644
index 00000000000..32e1fc3344a
--- /dev/null
+++ b/doc/cephfs/fstab.rst
@@ -0,0 +1,19 @@
+==========================================
+ Mount Ceph FS in your File Systems Table
+==========================================
+
+If you mount Ceph FS in your file systems table, the Ceph file system will mount
+automatically on startup. To mount Ceph FS in your file systems table, add the
+following to ``/etc/fstab``::
+
+ {ipaddress}:{port}:/ {mount}/{mountpoint} {filesystem-name} [name=username,secret=secretkey|secretfile=/path/to/secretfile],[{mount.options}]
+
+For example::
+
+ 10.10.10.10:6789:/ /mnt/ceph ceph name=admin,secretfile=/etc/ceph/secret.key,noauto,rw,noexec,nodev,noatime,nodiratime 0 2
+
+.. important:: The ``name`` and ``secret`` or ``secretfile`` options are
+ mandatory when you have Ceph authentication running. See `Authentication`_
+ for details.
+
+ .. _Authentication: ../../config-cluster/authentication/ \ No newline at end of file
diff --git a/doc/cephfs/index.rst b/doc/cephfs/index.rst
index d045dd76f7a..4bf91f44bdf 100644
--- a/doc/cephfs/index.rst
+++ b/doc/cephfs/index.rst
@@ -11,4 +11,5 @@ one metadata server in your ``ceph.conf`` configuration file.
.. toctree::
Mount Ceph FS<kernel>
- Mount Ceph FS as FUSE <fuse> \ No newline at end of file
+ Mount Ceph FS as FUSE <fuse>
+ Mount Ceph FS in ``fstab`` <fstab> \ No newline at end of file