mirror of
https://github.com/ceph/ceph
synced 2025-01-11 21:50:26 +00:00
doc: Added mount cephfs with fstab.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
This commit is contained in:
parent
7d1b32a091
commit
07169d2e43
19
doc/cephfs/fstab.rst
Normal file
19
doc/cephfs/fstab.rst
Normal file
@ -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/
|
@ -11,4 +11,5 @@ one metadata server in your ``ceph.conf`` configuration file.
|
||||
.. toctree::
|
||||
|
||||
Mount Ceph FS<kernel>
|
||||
Mount Ceph FS as FUSE <fuse>
|
||||
Mount Ceph FS as FUSE <fuse>
|
||||
Mount Ceph FS in ``fstab`` <fstab>
|
Loading…
Reference in New Issue
Block a user