2013-05-31 03:28:22 +00:00
|
|
|
=================
|
|
|
|
Ceph Filesystem
|
|
|
|
=================
|
2012-06-06 17:45:26 +00:00
|
|
|
|
2013-05-31 03:28:22 +00:00
|
|
|
The :term:`Ceph Filesystem` (Ceph FS) is a POSIX-compliant filesystem that uses
|
|
|
|
a Ceph Storage Cluster to store its data. The Ceph filesystem uses the same Ceph
|
|
|
|
Storage Cluster system as Ceph Block Devices, Ceph Object Storage with its S3
|
|
|
|
and Swift APIs, or native bindings (librados).
|
2013-05-17 22:56:59 +00:00
|
|
|
|
2016-06-30 15:18:46 +00:00
|
|
|
.. note:: If you are evaluating CephFS for the first time, please review
|
2016-06-30 15:20:20 +00:00
|
|
|
the best practices for deployment: :doc:`/cephfs/best-practices`
|
2013-05-17 22:56:59 +00:00
|
|
|
|
|
|
|
.. ditaa::
|
|
|
|
+-----------------------+ +------------------------+
|
2015-06-18 14:44:58 +00:00
|
|
|
| | | CephFS FUSE |
|
|
|
|
| | +------------------------+
|
|
|
|
| |
|
|
|
|
| | +------------------------+
|
|
|
|
| CephFS Kernel Object | | CephFS Library |
|
|
|
|
| | +------------------------+
|
|
|
|
| |
|
|
|
|
| | +------------------------+
|
|
|
|
| | | librados |
|
|
|
|
+-----------------------+ +------------------------+
|
2013-05-17 22:56:59 +00:00
|
|
|
|
|
|
|
+---------------+ +---------------+ +---------------+
|
|
|
|
| OSDs | | MDSs | | Monitors |
|
|
|
|
+---------------+ +---------------+ +---------------+
|
|
|
|
|
|
|
|
|
2016-11-04 10:07:45 +00:00
|
|
|
Using CephFS
|
|
|
|
============
|
|
|
|
|
2013-05-31 03:28:22 +00:00
|
|
|
Using the Ceph Filesystem requires at least one :term:`Ceph Metadata Server` in
|
|
|
|
your Ceph Storage Cluster.
|
2013-05-17 22:56:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
<style type="text/css">div.body h3{margin:5px 0px 0px 0px;}</style>
|
|
|
|
<table cellpadding="10"><colgroup><col width="33%"><col width="33%"><col width="33%"></colgroup><tbody valign="top"><tr><td><h3>Step 1: Metadata Server</h3>
|
|
|
|
|
2013-05-31 03:28:22 +00:00
|
|
|
To run the Ceph Filesystem, you must have a running Ceph Storage Cluster with at
|
|
|
|
least one :term:`Ceph Metadata Server` running.
|
2013-05-17 22:56:59 +00:00
|
|
|
|
2012-06-06 17:45:26 +00:00
|
|
|
|
|
|
|
.. toctree::
|
2012-11-14 22:57:51 +00:00
|
|
|
:maxdepth: 1
|
2012-06-06 17:45:26 +00:00
|
|
|
|
2016-08-02 08:50:15 +00:00
|
|
|
Add/Remove MDS(s) <../../rados/deployment/ceph-deploy-mds>
|
2016-03-30 11:06:27 +00:00
|
|
|
MDS failover and standby configuration <standby>
|
|
|
|
MDS Configuration Settings <mds-config-ref>
|
2016-07-25 03:21:29 +00:00
|
|
|
Client Configuration Settings <client-config-ref>
|
2012-12-22 00:14:23 +00:00
|
|
|
Journaler Configuration <journaler>
|
2013-05-17 22:56:59 +00:00
|
|
|
Manpage ceph-mds <../../man/8/ceph-mds>
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
2015-02-02 11:36:43 +00:00
|
|
|
</td><td><h3>Step 2: Mount CephFS</h3>
|
2013-05-17 22:56:59 +00:00
|
|
|
|
|
|
|
Once you have a healthy Ceph Storage Cluster with at least
|
2014-08-18 15:57:25 +00:00
|
|
|
one Ceph Metadata Server, you may create and mount your Ceph Filesystem.
|
2013-05-17 22:56:59 +00:00
|
|
|
Ensure that you client has network connectivity and the proper
|
|
|
|
authentication keyring.
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
2015-02-02 11:36:43 +00:00
|
|
|
Create CephFS <createfs>
|
|
|
|
Mount CephFS <kernel>
|
|
|
|
Mount CephFS as FUSE <fuse>
|
|
|
|
Mount CephFS in fstab <fstab>
|
2012-11-14 22:57:51 +00:00
|
|
|
Manpage ceph-fuse <../../man/8/ceph-fuse>
|
|
|
|
Manpage mount.ceph <../../man/8/mount.ceph>
|
2013-05-17 22:56:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
</td><td><h3>Additional Details</h3>
|
|
|
|
|
|
|
|
.. toctree::
|
2016-11-04 10:07:45 +00:00
|
|
|
:maxdepth: 1
|
2013-05-17 22:56:59 +00:00
|
|
|
|
2016-06-30 15:20:20 +00:00
|
|
|
Deployment best practices <best-practices>
|
2016-02-17 14:58:16 +00:00
|
|
|
Administrative commands <administration>
|
2016-11-04 10:07:45 +00:00
|
|
|
POSIX compatibility <posix>
|
|
|
|
Experimental Features <experimental-features>
|
|
|
|
CephFS Quotas <quota>
|
|
|
|
Using Ceph with Hadoop <hadoop>
|
|
|
|
cephfs-journal-tool <cephfs-journal-tool>
|
|
|
|
File layouts <file-layouts>
|
|
|
|
Client eviction <eviction>
|
|
|
|
Handling full filesystems <full>
|
2016-07-07 15:45:08 +00:00
|
|
|
Health messages <health-messages>
|
2016-11-04 10:07:45 +00:00
|
|
|
Troubleshooting <troubleshooting>
|
|
|
|
Disaster recovery <disaster-recovery>
|
|
|
|
Client authentication <client-auth>
|
|
|
|
Upgrading old filesystems <upgrading>
|
2016-11-17 17:27:37 +00:00
|
|
|
Configuring directory fragmentation <dirfrags>
|
2013-05-17 22:56:59 +00:00
|
|
|
|
|
|
|
.. raw:: html
|
|
|
|
|
|
|
|
</td></tr></tbody></table>
|
2016-11-04 10:07:45 +00:00
|
|
|
|
|
|
|
For developers
|
|
|
|
==============
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 1
|
|
|
|
|
|
|
|
libcephfs <../../api/libcephfs-java/>
|
|
|
|
Mantle <mantle>
|
|
|
|
|