Ceph is a distributed object, block, and file storage platform
Go to file
Sage Weil e3b4ba99cc filestore: create snap_0 on mkfs
If we create a new filestore, apply one transaction, and then crash, we
want to make sure roll back to a consistent reference point--empty.  The
simplest solution is to create that snap_0 during mkfs.  This avoids
strangeness like

2012-02-27 00:42:00.336703 7fb1381ef780 filestore(/ceph/osd.0) mkfs in /ceph/osd.0
2012-02-27 00:42:00.341399 7fb1381ef780 journal _open /ceph/osd.0.journal fd 10: 1048576000 bytes, block size 4096 bytes, directio = 1, aio = 0
2012-02-27 00:42:00.349705 7fb1381ef780 filestore(/ceph/osd.0) mkjournal created journal on /ceph/osd.0.journal
2012-02-27 00:42:00.349728 7fb1381ef780 filestore(/ceph/osd.0) mkfs done in /ceph/osd.0
2012-02-27 00:42:00.349787 7fb1381ef780 filestore(/ceph/osd.0) mount FIEMAP ioctl is NOT supported
2012-02-27 00:42:00.349800 7fb1381ef780 filestore(/ceph/osd.0) mount detected btrfs
2012-02-27 00:42:00.349813 7fb1381ef780 filestore(/ceph/osd.0) mount btrfs CLONE_RANGE ioctl is supported
2012-02-27 00:42:00.357023 7fb1381ef780 filestore(/ceph/osd.0) mount btrfs SNAP_CREATE is supported
2012-02-27 00:42:00.405174 7fb1381ef780 filestore(/ceph/osd.0) mount btrfs SNAP_DESTROY is supported
2012-02-27 00:42:00.405214 7fb1381ef780 filestore(/ceph/osd.0) mount btrfs START_SYNC got (25) Inappropriate ioctl for device
2012-02-27 00:42:00.405228 7fb1381ef780 filestore(/ceph/osd.0) mount btrfs START_SYNC is NOT supported: (25) Inappropriate ioctl for device
2012-02-27 00:42:00.405235 7fb1381ef780 filestore(/ceph/osd.0) mount WARNING: btrfs snaps enabled, but no SNAP_CREATE_V2 ioctl (from kernel 2.6.37+)
2012-02-27 00:42:00.405561 7fb1381ef780 filestore(/ceph/osd.0) mount found snaps <>
2012-02-27 00:42:00.405576 7fb1381ef780 filestore(/ceph/osd.0) mount WARNING: no consistent snaps found, store may be in inconsistent state

and subsequent badness if we fail before a proper commit is made.

Fixes: #2105
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-03-06 09:19:32 -08:00
admin github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 11:00:08 -08:00
ceph-object-corpus@b2639b83db test/encoding/readable.sh: skip old version with known incompatibilities 2012-02-13 14:08:25 -08:00
debian Merge branch 'stable' 2012-03-02 13:45:03 -08:00
doc github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 11:00:08 -08:00
fusetrace
keys doc: Write about deb installation. 2011-09-02 12:34:05 -07:00
m4 Makefile: Add recent acx_pthread.m4 that has a fix for nostdlib issue. 2012-01-12 09:17:06 -08:00
man ceph-dencoder: man page 2012-02-21 15:44:55 -08:00
qa github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 11:00:08 -08:00
src filestore: create snap_0 on mkfs 2012-03-06 09:19:32 -08:00
udev udev: drop device number from name 2011-12-08 16:36:47 -08:00
wireshark
.gitignore .gitignore: *.tar.bz2 2012-03-02 14:59:51 -08:00
.gitmodules github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 11:00:08 -08:00
AUTHORS
autogen.sh Added LevelDBStore 2012-03-01 10:11:42 -08:00
ceph.spec.in ceph.spec.in: add ceph-dencoder 2012-02-21 15:44:55 -08:00
ChangeLog
CodingStyle CodingStyle: whitespace 2011-07-14 10:50:08 -07:00
configure.ac Merge branch 'stable' 2012-03-02 13:45:03 -08:00
COPYING add libjson_spirit.la 2012-02-24 11:24:44 -08:00
COPYING-LGPL2.1 COPYING: note licenses for all files, not just the default 2012-01-12 10:03:27 -08:00
do_autogen.sh do_autogen.sh: -T for --without-tcmalloc 2012-02-24 11:15:04 -08:00
Doxyfile doxygen: Use first sentence as brief description. 2012-01-09 19:03:56 -08:00
INSTALL
Makefile.am Makefile: include run-cli-tests-maybe-unset-ccache in dist tarball. 2011-09-23 15:55:01 -07:00
NEWS
README c* -> ceph-* 2011-09-22 15:08:25 -07:00
RELEASE_CHECKLIST
SubmittingPatches

Ceph - a scalable distributed storage system
-----------------------------------------

Please see http://ceph.newdream.net/ for current info.

----

To build the server daemons, and FUSE client,

$ ./autogen.sh
$ ./configure
$ make

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

----

A quick summary of binaries that will be built in src/

daemons:
 ceph-mon -- monitor daemon.  handles cluster state and configuration
         information.
 ceph-osd -- storage daemon.  stores objects on a given block device.
 ceph-mds -- metadata daemon.  handles file system namespace.
 ceph-fuse -- fuse client.

tools:
 ceph -- send management commands to the monitor cluster.
 rados -- interact with the object store
 rbd -- manipulate rados block device images
 monmaptool -- create/edit mon map
 osdmaptool -- create/edit osd map 
 crushtool -- create/edit crush map

scripts:
 mkcephfs -- cluster mkfs tool
 init-ceph -- init.d start/stop script