# bluestore **Repository Path**: godblessyou/bluestore ## Basic Information - **Project Name**: bluestore - **Description**: fork from ceph lumious branch and cut bluestore modues from it. - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-13 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Build Requires should install some required packages, such as zlib-devel required by boost. gcc gcc-c++ Boost Build and Install Download the package from https://download.ceph.com/qa/boost_1_66_0.tar.bz2 1. unzip it and ./bootstrap.sh 2. ./b2 && ./b2 install RocksDB Build and Install Git clone the package from https://github.com/ceph/rocksdb.git 1. checkout the luminous branch 2. make shared_lib 3. make install BlueStore Build and Install 1. make 2. cp libbluestore.so libcommon.so libkv.so from out/lib to /usr/local/lib directory 3. add "/usr/local/lib" to /etc/ld.so.conf 4. ldconfig -v Environment Configure 1. use lvm command to create 3 LVs, named block.wal, block.db, block.data. VG name "test" 2. mkdir /etc/ceph and /var/lib/ceph/osd 3. cd tools, compile the bluestore-manager and ceph-bluestore-tool. copy them to /usr/bin directory. 4. use uuidgen command to generate the uuid, then config it to /etc/ceph/ceph.conf [global] osd_uuid = 5c951e6c-f047-43bf-afe3-66552e3856c1 fsid = 5c951e6c-f047-43bf-afe3-66552e3856c1 5. ceph-volume lvm create --bluestore --block.db test/block.db --block.wal test/block.wal --data test/ceph.data --osd-fsid 218a38da-a11a-4f62-9d02-3bffcd3df3ff --no-systemd, do not use systemd 6. test it.