Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Ceph is a distributed object, block, and file storage platform
C++ Perl6 C Shell Python Assembly Other
Branch: master

Merge pull request #6173 from dachary/wip-13355-docker-test

tests: allow to run under root

Reviewed-by: Nathan Cutler <>
latest commit 1e8cb9bcfb
@dachary dachary authored
Failed to load latest commit information.
admin admin/build-doc: fix dependency checks
bin rename from bin/
ceph-erasure-code-corpus @ b0d1137 tests: ceph-erasure-code-corpus must test SIMD variants
ceph-object-corpus @ 67383cc ceph-object-corpus: remove hammer foo and bar coll_t's
cmake/modules CMake - fix check for UDEV
debian Merge pull request #5841 from ceph/wip-12994-rbd-replay-packaging
doc release-notes: draft v0.94.4 release notes
etc etc/sysconfig/ceph: add CEPH_AUTO_RESTART_ON_UPGRADE
examples examples/librados/ semicolon
fusetrace remove superfluous second semicolons at end of lines
keys new release key
m4 crc32c: add aarch64 optimized crc32c implementation
man Add initial SELinux support
qa qa: avoid using sudo in fsstress
rpm Move fedora patch file (used by to rpm/ subdir
selinux radosgw: log to /var/log/ceph instead of /var/log/radosgw
share ceph-post-file: single command to upload a file to cephdrop
src Merge pull request #6173 from dachary/wip-13355-docker-test
systemd Merge remote-tracking branch 'gh/infernalis'
udev ceph-disk: fix typos in udev rules
.gitignore systemd: eliminate ceph-rgw tmpfiles.d file
.gitmodule_mirrors remove libs3 submodule
.gitmodules remove libs3 submodule
.mailmap Update Xinze affinity
.organizationmap Update Xinze affinity
.peoplemap mailmap: Zhi Zhang affiliation
CMakeLists.txt CMake - fix check for UDEV
CONTRIBUTING.rst doc: recommendations related to performances / cleanup
COPYING added boost timegm impl for cross platform support
COPYING-GPL2 Add GPLv2 text file
COPYING-LGPL2.1 COPYING: note licenses for all files, not just the default
ChangeLog first pass at autoconf and automake
CodingStyle Clarify CodingStyle with respect to tab compression of space runs
Doxyfile doc: do not doxygen src/tracing
INSTALL Update INSTALL to mention the submodules/recursive kill /etc/security/limits.d/ceph
NEWS first pass at autoconf and automake
PendingReleaseNotes doc/release-notes: initial v9.1.0 notes
README README: symlink from
README.cmake Combined CMake Build for Hammer Add basic CMake instructions
README.xio xio: Update README.xio with dependencies
SubmittingPatches SubmittingPatches: clarify how Reviewed-by lines are added do not submodule --force if git does not support it Merge pull request #6171 from SUSE/wip-infernalis-obs build/ops: make dist needs files with names > 99 characters tools: fix -R
doc_deps.deb.txt doc: The dot package is included in graphviz package Revert " use %bcond_with selinux on SLE/openSUSE" remove rest-bench bz2 only
pom.xml update license for libcephfs make-check: support MAKEOPTS overrides.

Ceph - a scalable distributed storage system

Please see for current info.

Contributing Code

Most of Ceph is licensed under the LGPL version 2.1. Some miscellaneous code is under BSD-style license or is public domain. The documentation is licensed under Creative Commons Attribution-ShareAlike (CC BY-SA). There are a handful of headers included here that are licensed under the GPL. Please see the file COPYING for a full inventory of licenses by file.

Code contributions must include a valid "Signed-off-by" acknowledging the license for the modified or contributed file. Please see the file SubmittingPatches for details on what that means and on how to generate and submit patches.

We do not require assignment of copyright to contribute code; code is contributed under the terms of the applicable license.

Build Prerequisites

The list of Debian or RPM packages dependencies can be installed with:


Note: libsnappy-dev and libleveldb-dev are not available upstream for Debian Squeeze. Backports for Ceph can be found at

Building Ceph


Developers, please refer to the Developer Guide for more information, otherwise, you can build the server daemons, and FUSE client, by executing the following:


(Note that the FUSE client will only be built if libfuse is present.)


Prerequisite: CMake 2.8.11

Build instructions:

mkdir build
cd build
cmake [options] /path/to/ceph/src/dir

(Note that /path/to/ceph/src/dir can be in the tree and out of the tree)


The configure script will complain about any missing dependencies as it goes. You can also refer to debian/control or for the package build dependencies on those platforms. In many cases, dependencies can be avoided with --with-foo or --without-bar switches. For example,

./configure --with-nss         # use libnss instead of libcrypto++
./configure --without-radosgw  # do not build radosgw
./configure --without-tcmalloc # avoid google-perftools dependency

Building packages

You can build packages for Debian or Debian-derived (e.g., Ubuntu) systems with

sudo apt-get install dpkg-dev
dpkg-checkbuilddeps        # make sure we have all dependencies

For RPM-based systems (Red Hat, SUSE, etc.),


Building the Documentation


The list of package dependencies for building the documentation can be found in doc_deps.deb.txt:

sudo apt-get install `cat doc_deps.deb.txt`

Building the Documentation

To build the documentation, ensure that you are in the top-level `/ceph directory, and execute the build script. For example:

Something went wrong with that request. Please try again.