]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added mount cephfs with fstab.
authorJohn Wilkins <john.wilkins@inktank.com>
Thu, 7 Jun 2012 18:35:37 +0000 (11:35 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Thu, 7 Jun 2012 18:35:37 +0000 (11:35 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/cephfs/fstab.rst [new file with mode: 0644]
doc/cephfs/index.rst

diff --git a/doc/cephfs/fstab.rst b/doc/cephfs/fstab.rst
new file mode 100644 (file)
index 0000000..32e1fc3
--- /dev/null
@@ -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
index d045dd76f7afc910a48c35338f4bc36cb9477062..4bf91f44bdf5b753b3d66c6641fa570529aeb9b4 100644 (file)
@@ -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