mirror of
https://github.com/ceph/ceph
synced 2024-12-13 15:08:33 +00:00
38dd59ba7c
fixes: #4058 Signed-off-by: John Wilkins <john.wilkins@inktank.com>
19 lines
826 B
ReStructuredText
19 lines
826 B
ReStructuredText
==========================================
|
|
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,noatime 0 2
|
|
|
|
.. important:: The ``name`` and ``secret`` or ``secretfile`` options are
|
|
mandatory when you have Ceph authentication running. See `Authentication`_
|
|
for details.
|
|
|
|
.. _Authentication: ../../rados/operations/authentication/ |