Giter Site home page Giter Site logo

dcasier / rozofs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bparrein/rozofs

0.0 3.0 0.0 12.24 MB

Scale-out storage using erasure coding

License: GNU General Public License v2.0

CMake 0.89% Python 3.43% Shell 4.72% C 89.21% C++ 1.00% Logos 0.72% Objective-C 0.04%

rozofs's Introduction

##ABOUT ROZOFS

RozoFS is a scale-out NAS file system. RozoFS aims to provide an open source high performance and high availability scale out storage software appliance for intensive disk IO data center scenario. It comes as a free software, licensed under the GNU GPL v2. RozoFS provides an easy way to scale to petabytes storage but using erasure coding it was designed to provide very high availability levels with optimized raw capacity usage on heterogenous commodity hardwares.

RozoFS provide a native open source POSIX file system, build on top of a usual out-band scale-out storage architecture. The RozoFS specificity lies in the way data is stored. The data to be stored is translated into several chunks named projections using Mojette Transform and distributed across storage devices in such a way that it can be retrieved even if several pieces are unavailable. On the other hand, chuncks are meaningless alone. Redundancy schemes based on coding techniques like the one used by RozoFS allow to achieve significant storage savings as compared to simple replication.

Note: [xxx] means optional, <xxx> means required.

##BUILDING AND INSTALLING FROM SOURCES

Prerequisites

To build the RozoFS source code, it is necessary to install several libraries and tools. RozoFS uses the cross-platform build system cmake to get you started quickly. RozoFS dependencies are the following:

  • gcc
  • make
  • cmake
  • libfuse-dev (>= 2.9.0)
  • libattr1-dev
  • uuid-dev
  • libconfig-dev
  • libreadline-dev
  • pyro
  • python2.7-dev
  • python-yaml
  • libpthread
  • libcrypt
  • rpcbind
  • swig

###Build Using default values will compile RozoFS in Release mode and install it on /usr/local.

# mkdir build
# cd build
# cmake -G "Unix Makefiles" [-DCMAKE_INSTALL_PREFIX=/foo/bar -DCMAKE_BUILD_TYPE=Debug] ../
# make

Install

# [sudo] make install

If you use default values, make will place the executables in /usr/local/bin, build options (CMAKE_INSTALL_PREFIX, CMAKE_BUILD_TYPE...) of generated build tree can be modified with the following command :

# make edit_cache

###Uninstall

# make uninstall

##SETTING UP ROZOFS

###Prerequisites

exportd prerequisites:

  • a running portmap/rpcbind (see portmap(8)/rpcbind(8))
  • extend attributes on used file system (see mount(8) and fstab(5))
  • libattr
  • libuuid
  • libconfig

storaged prerequisites:

  • a running portmap/rpcbind (see portmap(8)/rpcbind(8))
  • libuuid
  • libconfig

rozofsmount prerequisites:

  • fuse
  • libfuse (>= 2.9.0)
  • fuse-utils

###Start

  1. install exportd on one host
  2. install storaged on multiple hosts
  3. fill in export.conf (in /etc/rozofs or /usr/local/etc/rozofs according to CMAKE_INSTALL_PREFIX)
  4. fill in all storage.conf
  5. # [sudo] exportd
  6. # [sudo] storaged
  7. wherever you want: # [sudo] rozofsmount -H [EXPORT_HOST] -E [EXPORT_PATH] -P [PASSWD] [MOUNTPOINT]

###Stop

  1. # [sudo] umount [MOUNTPOINT]
  2. # [sudo] killall exportd
  3. # [sudo] killall storaged

##MORE INFO See https://github.com/rozofs/rozofs/wiki.

##BUGS See https://github.com/rozofs/rozofs/issues.

rozofs's People

Contributors

dpertin avatar rozoadrenaline avatar rozocaffeine avatar rozodopamine avatar rozonicotine avatar sathieu avatar wedgesama avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.