Skip to content
Ceph is a distributed object, block, and file storage platform
C++ Terra C Python Shell Assembly Other
Latest commit 14a150b May 28, 2016 @trociny trociny Merge pull request #9360 from dillaman/wip-16045
rbd-mirror: support multiple replicated pools

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Failed to load latest commit information.
admin admin/build-doc: use doc_deps.deb.txt for build-deps instead May 24, 2016
bin make_dist.sh: rename from bin/make_dist_tarball.sh May 31, 2015
ceph-erasure-code-corpus @ c332279 submodules: revert an accidental change Mar 4, 2016
ceph-object-corpus @ 47fbf8c Revert "common/*Formatters: Split Formatters" Jan 15, 2016
cmake/modules cmake: revamp on lttng support May 27, 2016
debian packaging: drop python-flask dependency from radosgw May 25, 2016
doc Merge pull request #9284 from tchaikov/wip-cmake-doc May 29, 2016
etc set 128MB tcmalloc cache size by bytes Apr 29, 2016
examples Fix Makefile in example/librados file. Oct 19, 2015
fusetrace remove superfluous second semicolons at end of lines May 8, 2014
keys new release key Sep 17, 2015
m4 crc32c: add aarch64 optimized crc32c implementation Mar 17, 2015
man doc,cmake: do not scan non-man pages when building man pages May 24, 2016
mirroring mirrors: Change contact e-mail address for se.ceph.com Mar 9, 2016
qa Merge pull request #9360 from dillaman/wip-16045 May 28, 2016
selinux cmake: enable selinux support May 16, 2016
share CodingStyle: Fix coding-style on PG related Monitor files Dec 10, 2015
src Merge pull request #9360 from dillaman/wip-16045 May 28, 2016
systemd systemd: fix typo in preset file Apr 30, 2016
udev rpm: drop udev/95-ceph-osd-alt.rules May 6, 2016
.gitignore gitignore: ignore backup files from editors etc. Jan 27, 2016
.gitmodule_mirrors remove libs3 submodule Jul 30, 2015
.gitmodules .gitmodules: use github.com/ceph/xxHash clone Mar 8, 2016
.mailmap mailmap: Luo Runbing affiliation (was "runsisi", name normalization b… May 19, 2016
.organizationmap mailmap: Luo Runbing affiliation (was "runsisi", name normalization b… May 19, 2016
.peoplemap mailmap: Abhishek Lekshmanan affiliation Feb 8, 2016
AUTHORS AUTHORS: update email Mar 1, 2016
CMakeLists.txt cmake: s/ENABLE_SHARED/BUILD_SHARED_LIBS/ May 28, 2016
CONTRIBUTING.rst doc: rename SubmittingPatches to SubmittingPatches.rst Jan 20, 2016
COPYING SIGPIPE suppression for platforms without SO_NOSIGPIPE or MSG_NOSIGNAL Nov 13, 2015
COPYING-GPL2 Add GPLv2 text file Feb 27, 2015
COPYING-LGPL2.1 COPYING: note licenses for all files, not just the default Jan 12, 2012
ChangeLog first pass at autoconf and automake Jan 27, 2008
CodingStyle CodingStyle: fix broken URLs Nov 30, 2015
Doxyfile doc: do not doxgen src/civetweb May 24, 2016
INSTALL doc: INSTALL redirect to online documentation Dec 1, 2015
Makefile.am rpm: drop udev/95-ceph-osd-alt.rules May 6, 2016
NEWS first pass at autoconf and automake Jan 28, 2008
PendingReleaseNotes ceph-crush-location: osd_crush_location -> crush_location May 11, 2016
README README: symlink from README.md Aug 6, 2014
README.FreeBSD FreeBSD/build: Files specific for building on FreeBSD May 10, 2016
README.aix aix shared library build Nov 25, 2015
README.cmake.md Renamed file to better indicate it contains markdown syntax. May 25, 2016
README.md doc: rename SubmittingPatches to SubmittingPatches.rst Jan 20, 2016
README.solaris aix gcc librados port Nov 23, 2015
README.xio xio: Update README.xio with dependencies Mar 17, 2015
SubmittingPatches.rst doc: amend Fixes instructions in SubmittingPatches Mar 25, 2016
autogen.sh rocksdb: build rocksdb with its own Makefile Oct 17, 2015
autogen_freebsd.sh FreeBSD/build: Files specific for building on FreeBSD May 10, 2016
ceph.spec.in packaging: drop python-flask dependency from radosgw May 26, 2016
configure.ac FreeBSD/configure.ac: No RPMs and fix YASM selection May 10, 2016
do_autogen.sh tools: fix do_autogen.sh -R Sep 2, 2015
do_freebsd.sh FreeBSD/build: Files specific for building on FreeBSD May 10, 2016
doc_deps.deb.txt admin/build-doc: use doc_deps.deb.txt for build-deps instead May 24, 2016
install-deps.sh install-deps.sh: Add the required packages to build on FreeBSD May 10, 2016
make-debs.sh make-debs.sh: avoid creating recursive conf dir May 10, 2016
make_dist.sh make_dist.sh: bz2 only Jun 1, 2015
pom.xml update license for libcephfs Aug 26, 2014
run-cmake-check.sh cmake: Remove redundant call to get_processors May 6, 2016
run-make-check.sh tests: rm -fr /tmp/*virtualenv* May 20, 2016

README.md

Ceph - a scalable distributed storage system

Please see http://ceph.com/ 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.rst 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:

./install-deps.sh

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

Building Ceph

Autotools

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

./autogen.sh
./configure
make

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

CMake

Prerequisite: CMake 2.8.11

Build instructions:

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

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

Dependencies

The configure script will complain about any missing dependencies as it goes. You can also refer to debian/control or ceph.spec.in 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
dpkg-buildpackage

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

rpmbuild

Building the Documentation

Prerequisites

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:

admin/build-doc
Something went wrong with that request. Please try again.